mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
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
|
||||
, expat, libxml2, openssl }:
|
||||
, expat, libxml2, openssl, pkgconfig
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "squid-4.8";
|
||||
@ -9,14 +10,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0432m0ix046rkja7r7qpydgsm2kf1w393xym15nx6h9kv4jb7kbq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
perl openldap db cyrus_sasl expat libxml2 openssl
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [ libcap pam ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace configure --replace "/usr/local/include/libxml2" "${libxml2.dev}/include/libxml2"
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--enable-ipv6"
|
||||
"--disable-strict-error-checking"
|
||||
|
Loading…
Reference in New Issue
Block a user