forked from mirrors/nixpkgs
squid, squid4: Allowing build on Darwin
This commit is contained in:
parent
9be54c61a2
commit
3deeecddad
|
@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
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 = [
|
configureFlags = [
|
||||||
"--enable-ipv6"
|
"--enable-ipv6"
|
||||||
|
@ -19,11 +19,12 @@ stdenv.mkDerivation rec {
|
||||||
"--disable-arch-native"
|
"--disable-arch-native"
|
||||||
"--with-openssl"
|
"--with-openssl"
|
||||||
"--enable-ssl-crtd"
|
"--enable-ssl-crtd"
|
||||||
"--enable-linux-netfilter"
|
|
||||||
"--enable-storeio=ufs,aufs,diskd,rock"
|
"--enable-storeio=ufs,aufs,diskd,rock"
|
||||||
"--enable-removal-policies=lru,heap"
|
"--enable-removal-policies=lru,heap"
|
||||||
"--enable-delay-pools"
|
"--enable-delay-pools"
|
||||||
"--enable-x-accelerator-vary"
|
"--enable-x-accelerator-vary"
|
||||||
|
] ++ stdenv.lib.optionals stdenv.isLinux [
|
||||||
|
"--enable-linux-netfilter"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
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 = [
|
configureFlags = [
|
||||||
"--enable-ipv6"
|
"--enable-ipv6"
|
||||||
|
@ -19,11 +19,12 @@ stdenv.mkDerivation rec {
|
||||||
"--disable-arch-native"
|
"--disable-arch-native"
|
||||||
"--with-openssl"
|
"--with-openssl"
|
||||||
"--enable-ssl-crtd"
|
"--enable-ssl-crtd"
|
||||||
"--enable-linux-netfilter"
|
|
||||||
"--enable-storeio=ufs,aufs,diskd,rock"
|
"--enable-storeio=ufs,aufs,diskd,rock"
|
||||||
"--enable-removal-policies=lru,heap"
|
"--enable-removal-policies=lru,heap"
|
||||||
"--enable-delay-pools"
|
"--enable-delay-pools"
|
||||||
"--enable-x-accelerator-vary"
|
"--enable-x-accelerator-vary"
|
||||||
|
] ++ stdenv.lib.optionals stdenv.isLinux [
|
||||||
|
"--enable-linux-netfilter"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in a new issue