[yocto] [meta-qt3] [PATCH 3/5] qt-x11-free: use INC_PR

Paul Eggleton paul.eggleton at linux.intel.com
Thu Dec 8 07:18:17 PST 2011


PR was being set in both the inc and the recipes, this is not correct.
Move them to use INC_PR so the recipe and inc can be updated and retain
sanity.

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 recipes-qt3/qt3/qt-x11-free-common.inc |    2 +-
 recipes-qt3/qt3/qt-x11-free_3.3.7.bb   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-qt3/qt3/qt-x11-free-common.inc b/recipes-qt3/qt3/qt-x11-free-common.inc
index 6aa6306..c92d883 100644
--- a/recipes-qt3/qt3/qt-x11-free-common.inc
+++ b/recipes-qt3/qt3/qt-x11-free-common.inc
@@ -3,7 +3,7 @@ SECTION = "x11/libs"
 PRIORITY = "optional"
 LICENSE = "GPL | QPL"
 HOMEPAGE = "http://www.trolltech.com"
-PR = "r1"
+INC_PR = "r3"
 
 S = "${WORKDIR}/qt-x11-free-${PV}"
 
diff --git a/recipes-qt3/qt3/qt-x11-free_3.3.7.bb b/recipes-qt3/qt3/qt-x11-free_3.3.7.bb
index 94486ed..f2e8591 100644
--- a/recipes-qt3/qt3/qt-x11-free_3.3.7.bb
+++ b/recipes-qt3/qt3/qt-x11-free_3.3.7.bb
@@ -1,6 +1,6 @@
 DEPENDS = "qt-x11-free-native freetype virtual/libx11 libxmu libxft libxext libxrender libxrandr libxcursor  virtual/libgl"
 PROVIDES = "qt3x11"
-PR = "r0"
+PR = "${INC_PR}.1"
 
 PREFERRED_VERSION_qt-x11-free = 3.3.7
 LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=b07b0d5ac6b1822effe47173a1744433 \
-- 
1.7.5.4




More information about the yocto mailing list