3
0
Fork 0
forked from mirrors/nixpkgs

squid, squid4: Allowing build on Darwin

This commit is contained in:
John Wiegley 2018-01-17 09:52:50 -08:00
parent 9be54c61a2
commit 3deeecddad
2 changed files with 8 additions and 6 deletions

View file

@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
};
buildInputs = [
perl openldap pam db cyrus_sasl libcap expat libxml2 openssl
];
perl openldap db cyrus_sasl expat libxml2 openssl
] ++ stdenv.lib.optionals stdenv.isLinux [ libcap pam ];
configureFlags = [
"--enable-ipv6"
@ -19,11 +19,12 @@ stdenv.mkDerivation rec {
"--disable-arch-native"
"--with-openssl"
"--enable-ssl-crtd"
"--enable-linux-netfilter"
"--enable-storeio=ufs,aufs,diskd,rock"
"--enable-removal-policies=lru,heap"
"--enable-delay-pools"
"--enable-x-accelerator-vary"
] ++ stdenv.lib.optionals stdenv.isLinux [
"--enable-linux-netfilter"
];
meta = with stdenv.lib; {

View file

@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
};
buildInputs = [
perl openldap pam db cyrus_sasl libcap expat libxml2 openssl
];
perl openldap db cyrus_sasl expat libxml2 openssl
] ++ stdenv.lib.optionals stdenv.isLinux [ libcap pam ];
configureFlags = [
"--enable-ipv6"
@ -19,11 +19,12 @@ stdenv.mkDerivation rec {
"--disable-arch-native"
"--with-openssl"
"--enable-ssl-crtd"
"--enable-linux-netfilter"
"--enable-storeio=ufs,aufs,diskd,rock"
"--enable-removal-policies=lru,heap"
"--enable-delay-pools"
"--enable-x-accelerator-vary"
] ++ stdenv.lib.optionals stdenv.isLinux [
"--enable-linux-netfilter"
];
meta = with stdenv.lib; {