mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
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:
parent
ae5b6de50f
commit
2e618df532
@ -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";
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user