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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user