From bd08bc7fb5ac8ced0cb37f106a702a8d1f381655 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 30 Sep 2016 07:19:36 +0200 Subject: [PATCH] nmap: make this cross compilable by disabling lua for now. --- srcpkgs/nmap/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/nmap/template b/srcpkgs/nmap/template index 2e5b100ef6d..f24325b0384 100644 --- a/srcpkgs/nmap/template +++ b/srcpkgs/nmap/template @@ -4,7 +4,9 @@ version=7.30 revision=1 build_style=gnu-configure build_options="lua" -build_options_default="lua" +if [ -z "$CROSS_BUILD" ]; then + build_options_default="lua" +fi configure_args="--without-ndiff --with-openssl --with-zenmap $(vopt_with lua liblua)" hostmakedepends="python" makedepends="libpcap-devel pcre-devel libressl-devel $(vopt_if lua lua52-devel)"