diff --git a/srcpkgs/bind/template b/srcpkgs/bind/template index 4e35aafb00a..f0744606e44 100644 --- a/srcpkgs/bind/template +++ b/srcpkgs/bind/template @@ -1,7 +1,7 @@ # Template file for 'bind' pkgname=bind version=9.16.7 -revision=1 +revision=2 _fullver="${version}${_patchver:+-${_patchver}}" wrksrc="${pkgname}-${_fullver}" build_style=gnu-configure @@ -11,12 +11,11 @@ configure_args="--disable-static --enable-threads --enable-largefile --with-libtool --with-openssl=${XBPS_CROSS_BASE}/usr --with-gssapi=/usr/bin --without-gost --enable-openssl-hash --with-readline --with-tuning=default --without-python --enable-fetchlimit --enable-sit - --with-libidn2 $(vopt_enable seccomp) + --with-libidn2 $(vopt_if geoip "--with-geoip=${XBPS_CROSS_BASE}/usr" "--without-geoip")" hostmakedepends="automake libtool perl pkg-config" makedepends="libressl-devel libxml2-devel libcap-devel readline-devel mit-krb5-devel - libatomic-devel libidn2-devel libuv-devel $(vopt_if geoip geoip-devel) - $(vopt_if seccomp libseccomp-devel)" + libatomic-devel libidn2-devel libuv-devel $(vopt_if geoip geoip-devel)" short_desc="Berkeley Internet Name Domain server" maintainer="Randy McCaskill " license="MPL-2.0" @@ -31,13 +30,9 @@ named_descr="BIND DNS server" named_homedir="/var/named" make_dirs="/var/named 0770 root named" -build_options="geoip seccomp" +build_options="geoip" build_options_default="geoip" -case "$XBPS_TARGET_MACHINE" in - x86_64*|i686*) build_options_default+=" seccomp";; -esac - do_check() { # requires special network setup :