bind: avoid build impurity by explicitly enabling/disabling features

The BIND configure script finds extra dependencies in /usr/include and /usr/lib,
and activates additional features if it does. This may cause the build to fail
on systems that cannot use a chroot environment. Actively disabling those
additional features prevents this issue from occurring.
This commit is contained in:
Peter Simons 2013-06-09 19:25:46 +02:00
parent ae5b6de50f
commit 2e618df532
2 changed files with 16 additions and 6 deletions

View file

@ -17,9 +17,21 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl libtool perl libxml2 ];
/* Why --with-libtool? */
configureFlags = [ "--with-libtool" "--with-openssl=${openssl}"
"--localstatedir=/var" ];
configureFlags = [
"--localstatedir=/var"
"--with-libtool"
"--with-libxml2=${libxml2}"
"--with-openssl=${openssl}"
"--without-atf"
"--without-dlopen"
"--without-docbook-xsl"
"--without-gssapi"
"--without-idn"
"--without-idnlib"
"--without-pkcs11"
"--without-purify"
"--without-python"
];
meta = {
homepage = "http://www.isc.org/software/bind";

View file

@ -5581,9 +5581,7 @@ let
sabnzbd = callPackage ../servers/sabnzbd { };
bind = callPackage ../servers/dns/bind {
inherit openssl libtool perl;
};
bind = callPackage ../servers/dns/bind { };
couchdb = callPackage ../servers/http/couchdb {
spidermonkey = spidermonkey_185;