[oe] [PATCH 11/12] pkg-config: migrated to INC_PR

Ihar Hrachyshka ihar.hrachyshka at gmail.com
Wed Jun 3 15:37:21 UTC 2009


Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka at gmail.com>
---
 recipes/pkgconfig/pkgconfig-native_0.23.bb |    2 ++
 recipes/pkgconfig/pkgconfig-sdk_0.23.bb    |    2 ++
 recipes/pkgconfig/pkgconfig.inc            |    2 +-
 recipes/pkgconfig/pkgconfig_0.23.bb        |    2 ++
 4 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/recipes/pkgconfig/pkgconfig-native_0.23.bb b/recipes/pkgconfig/pkgconfig-native_0.23.bb
index 24497a9..da728d3 100644
--- a/recipes/pkgconfig/pkgconfig-native_0.23.bb
+++ b/recipes/pkgconfig/pkgconfig-native_0.23.bb
@@ -1,6 +1,8 @@
 require pkgconfig.inc
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}"
 
+PR = "${INC_PR}.1"
+
 S = "${WORKDIR}/pkg-config-${PV}/"
 inherit native
 DEPENDS = ""
diff --git a/recipes/pkgconfig/pkgconfig-sdk_0.23.bb b/recipes/pkgconfig/pkgconfig-sdk_0.23.bb
index 3b20371..47a5b46 100644
--- a/recipes/pkgconfig/pkgconfig-sdk_0.23.bb
+++ b/recipes/pkgconfig/pkgconfig-sdk_0.23.bb
@@ -1,6 +1,8 @@
 require pkgconfig.inc
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/pkgconfig-${PV}"
 
+PR = "${INC_PR}.1"
+
 S = "${WORKDIR}/pkg-config-${PV}/"
 inherit sdk
 DEPENDS = ""
diff --git a/recipes/pkgconfig/pkgconfig.inc b/recipes/pkgconfig/pkgconfig.inc
index 939199b..495403e 100644
--- a/recipes/pkgconfig/pkgconfig.inc
+++ b/recipes/pkgconfig/pkgconfig.inc
@@ -5,7 +5,7 @@ It replaces the ubiquitous *-config scripts you may have \
 seen with a single tool."
 HOMEPAGE = "http://pkg-config.freedesktop.org/wiki/"
 LICENSE = "GPL"
-PR = "r7"
+INC_PR = "r7"
 
 SRC_URI = "http://pkgconfig.freedesktop.org/releases/pkg-config-${PV}.tar.gz \
            file://autofoo.patch;patch=1 \
diff --git a/recipes/pkgconfig/pkgconfig_0.23.bb b/recipes/pkgconfig/pkgconfig_0.23.bb
index 10ce0fc..8e75adc 100644
--- a/recipes/pkgconfig/pkgconfig_0.23.bb
+++ b/recipes/pkgconfig/pkgconfig_0.23.bb
@@ -1,4 +1,6 @@
 require pkgconfig.inc
 
+PR = "${INC_PR}.1"
+
 DEPENDS += "glib-2.0"
 EXTRA_OECONF = "--with-installed-glib"
-- 
1.6.3.1





More information about the Openembedded-devel mailing list