From a5f383928582b03911476c2e11ce8b6128db4b8f Mon Sep 17 00:00:00 2001 From: Xin Ouyang Date: Mon, 15 Oct 2012 15:35:35 +0800 Subject: libcap-ng: pythonnative, add swig-native depend libcap-ng need native python while do_configure, and native swig while do_compile, so add them. Signed-off-by: Xin Ouyang --- recipes-security/libcap-ng/libcap-ng_0.6.5.bb | 7 +++---- recipes-security/libcap-ng/libcap-ng_0.6.6.bb | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/recipes-security/libcap-ng/libcap-ng_0.6.5.bb b/recipes-security/libcap-ng/libcap-ng_0.6.5.bb index e53de66..a38bef3 100644 --- a/recipes-security/libcap-ng/libcap-ng_0.6.5.bb +++ b/recipes-security/libcap-ng/libcap-ng_0.6.5.bb @@ -5,7 +5,7 @@ It includes utilities that can analyze all currently running \ applications to locate applications that may have too many privileges." HOMEPAGE = "http://freecode.com/projects/libcap-ng" SECTION = "base" -PR = "r1" +PR = "r2" LICENSE = "GPLv2+ & LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" @@ -13,13 +13,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ file://python.patch" -inherit lib_package -inherit autotools +inherit lib_package autotools pythonnative SRC_URI[md5sum] = "759ae1accd9954f3e08c2f94b4ecfcf9" SRC_URI[sha256sum] = "293e2e308f08d171f64e8387cdf48b505b0e78d786e2660efd285295e64d6620" -DEPENDS += "python" +DEPENDS += "swig-native python" EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" diff --git a/recipes-security/libcap-ng/libcap-ng_0.6.6.bb b/recipes-security/libcap-ng/libcap-ng_0.6.6.bb index 6954d05..4b0aaa1 100644 --- a/recipes-security/libcap-ng/libcap-ng_0.6.6.bb +++ b/recipes-security/libcap-ng/libcap-ng_0.6.6.bb @@ -5,7 +5,7 @@ It includes utilities that can analyze all currently running \ applications to locate applications that may have too many privileges." HOMEPAGE = "http://freecode.com/projects/libcap-ng" SECTION = "base" -PR = "r1" +PR = "r2" LICENSE = "GPLv2+ & LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06" @@ -13,13 +13,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ SRC_URI = "http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-${PV}.tar.gz \ file://python.patch" -inherit lib_package -inherit autotools +inherit lib_package autotools pythonnative SRC_URI[md5sum] = "eb71f967cecb44b4342baac98ef8cb0f" SRC_URI[sha256sum] = "89589a29a6b19068edd650dd4f626c10e84bfe63eacae7b1fd1f98f3ac8ea00d" -DEPENDS += "python" +DEPENDS += "swig-native python" EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'" -- cgit v1.2.3-54-g00ecf