[OE-core] [PATCH] nmap: use native python and add python dependence

Zhu Yanjun yanjun.zhu at windriver.com
Wed Feb 19 02:35:27 UTC 2014


---
 recipes-security/nmap/nmap_6.25.bb |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/recipes-security/nmap/nmap_6.25.bb b/recipes-security/nmap/nmap_6.25.bb
index aff5c63..8d7e853 100644
--- a/recipes-security/nmap/nmap_6.25.bb
+++ b/recipes-security/nmap/nmap_6.25.bb
@@ -11,12 +11,17 @@ SRC_URI = "http://nmap.org/dist/${PN}-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "fcc80f94ff3adcb11eedf91092ea6f5e"
 SRC_URI[sha256sum] = "3349cc6d36b86b95ca2b8075d16615a3a598cef494920d6652f9a8bf9f7660b5"
 
-inherit autotools
+inherit autotools pythonnative
 
-DEPENDS = "libpcap"
+DEPENDS = "libpcap python"
 
 EXTRA_OECONF = "--without-liblua --without-zenmap --without-subversion --with-pcap=linux"
 
+export BUILD_SYS
+export HOST_SYS
+export STAGING_LIBDIR
+export STAGING_INCDIR
+
 do_configure() {
     autoconf
     oe_runconf
-- 
1.7.9.5




More information about the Openembedded-core mailing list