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)"