From 126d5b5bb847c4c303267e128c80c30ce679498a Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Thu, 17 Apr 2014 17:25:10 -0300 Subject: [PATCH] nmap: make ndiff conditional on python2 ndiff only works when target python2 is available, so disable it completely when it's not. Fixes: http://autobuild.buildroot.net/results/402/40269fd96a3b62fa187e9b26e5ab4ce4e7711f95/ Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/nmap/nmap.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/nmap/nmap.mk b/package/nmap/nmap.mk index 4ed39bf7b4..c7e2225873 100644 --- a/package/nmap/nmap.mk +++ b/package/nmap/nmap.mk @@ -21,4 +21,11 @@ else NMAP_CONF_OPT += --without-openssl endif +# ndiff only works with python2.x +ifeq ($(BR2_PACKAGE_PYTHON),y) +NMAP_DEPENDENCIES += python +else +NMAP_CONF_OPT += --without-ndiff +endif + $(eval $(autotools-package)) -- 2.30.2