Setup INC_PR for PR bumps

Signed-off-by: Saul Wold <[email protected]>
---
 meta/recipes-support/gnutls/gnutls.inc       |    6 ++++--
 meta/recipes-support/gnutls/gnutls_2.10.4.bb |    2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-support/gnutls/gnutls.inc 
b/meta/recipes-support/gnutls/gnutls.inc
index 2dcd8a0..fd77af4 100644
--- a/meta/recipes-support/gnutls/gnutls.inc
+++ b/meta/recipes-support/gnutls/gnutls.inc
@@ -1,9 +1,9 @@
 DESCRIPTION = "GNU Transport Layer Security Library"
 HOMEPAGE = "http://www.gnu.org/software/gnutls/";
 BUGTRACKER = "https://savannah.gnu.org/support/?group=gnutls";
-DEPENDS = "zlib lzo libtasn1 libgcrypt (>= 1.4.2)"
+DEPENDS = "zlib lzo libtasn1 libgcrypt (>= 1.4.2) libcap"
 
-BBCLASSEXTEND = "native"
+INC_PR = "r1"
 
 LICENSE = "GPLv3+ & LGPLv2.1+"
 LICENSE_${PN} = "LGPLv2.1+"
@@ -44,3 +44,5 @@ FILES_${PN}-dev += "${bindir}/*-config 
${bindir}/gnutls-cli-debug"
 FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*"
 FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*"
 FILES_${PN}-xx = "${libdir}/libgnutlsxx.so.*"
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/gnutls/gnutls_2.10.4.bb 
b/meta/recipes-support/gnutls/gnutls_2.10.4.bb
index 3924ecd..cc2fa27 100644
--- a/meta/recipes-support/gnutls/gnutls_2.10.4.bb
+++ b/meta/recipes-support/gnutls/gnutls_2.10.4.bb
@@ -1,6 +1,6 @@
 require gnutls.inc
 
-PR = "r0"
+PR = "${INC_PR}.0"
 
 SRC_URI += "file://gnutls-openssl.patch \
             file://gnutls-texinfo-euro.patch \
-- 
1.7.3.4


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to