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
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue