3
0
Fork 0
forked from mirrors/nixpkgs

r-openssl: fix build

This commit is contained in:
Peter Simons 2017-10-06 14:01:40 +02:00
parent 86ad1451f2
commit 458331408e

View file

@ -279,7 +279,6 @@ let
ncdf4 = [ pkgs.netcdf ];
nloptr = [ pkgs.nlopt ];
odbc = [ pkgs.unixODBC ];
openssl = [ pkgs.openssl pkgs.openssl.dev ];
outbreaker = [ pkgs.gsl_1 ];
pander = [ pkgs.pandoc pkgs.which ];
pbdMPI = [ pkgs.openmpi ];
@ -837,10 +836,8 @@ let
});
openssl = old.openssl.overrideDerivation (attrs: {
OPENSSL_INCLUDES = "${pkgs.openssl.dev}/include";
preConfigure = ''
sed -i.bak 's|^\( *PKG_LIBS_VERSIONED=\).*$|\1$PKG_LIBS|' configure
'';
PKGCONFIG_CFLAGS = "-I${pkgs.openssl.dev}/include";
PKGCONFIG_LIBS = "-Wl,-rpath,${pkgs.openssl.out}/lib -L${pkgs.openssl.out}/lib -lssl -lcrypto";
});
Rserve = old.Rserve.overrideDerivation (attrs: {