squid: fix build with openssl 1.1
This commit is contained in:
parent
2596a81743
commit
c89e5439a1
@ -1,5 +1,6 @@
|
|||||||
{ stdenv, fetchurl, perl, openldap, pam, db, cyrus_sasl, libcap
|
{ stdenv, fetchurl, perl, openldap, pam, db, cyrus_sasl, libcap
|
||||||
, expat, libxml2, openssl }:
|
, expat, libxml2, openssl, pkgconfig
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "squid-4.8";
|
name = "squid-4.8";
|
||||||
@ -9,14 +10,11 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0432m0ix046rkja7r7qpydgsm2kf1w393xym15nx6h9kv4jb7kbq";
|
sha256 = "0432m0ix046rkja7r7qpydgsm2kf1w393xym15nx6h9kv4jb7kbq";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
perl openldap db cyrus_sasl expat libxml2 openssl
|
perl openldap db cyrus_sasl expat libxml2 openssl
|
||||||
] ++ stdenv.lib.optionals stdenv.isLinux [ libcap pam ];
|
] ++ stdenv.lib.optionals stdenv.isLinux [ libcap pam ];
|
||||||
|
|
||||||
prePatch = ''
|
|
||||||
substituteInPlace configure --replace "/usr/local/include/libxml2" "${libxml2.dev}/include/libxml2"
|
|
||||||
'';
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-ipv6"
|
"--enable-ipv6"
|
||||||
"--disable-strict-error-checking"
|
"--disable-strict-error-checking"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user