mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
uwimap: Avoid reference to OpenSSL headers
Default value of SSLCERTS was ${openssl.dev}/certs. Adjust SSLLIB as well for good measure.
This commit is contained in:
parent
934a6ddef6
commit
d100218bd2
@ -18,8 +18,9 @@ stdenv.mkDerivation {
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin) pam;
|
||||
|
||||
patchPhase = ''
|
||||
sed -i -e s,/usr/local/ssl,${openssl}, \
|
||||
src/osdep/unix/Makefile
|
||||
sed -i src/osdep/unix/Makefile -e 's,/usr/local/ssl,${openssl},'
|
||||
sed -i src/osdep/unix/Makefile -e 's,^SSLCERTS=.*,SSLCERTS=/etc/ssl/certs,'
|
||||
sed -i src/osdep/unix/Makefile -e 's,^SSLLIB=.*,SSLLIB=${openssl.out}/lib,'
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin
|
||||
|
Loading…
Reference in New Issue
Block a user