* OpenSSL's rpath should include itself.

svn path=/nixpkgs/trunk/; revision=258
This commit is contained in:
Eelco Dolstra 2003-08-06 11:30:45 +00:00
parent 5c88811954
commit 5da5a72830
2 changed files with 7 additions and 0 deletions

View File

@ -4,9 +4,14 @@ export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup || exit 1 . $stdenv/setup || exit 1
envpkgs=""
. $setenv || exit 1
tar xvfz $src || exit 1 tar xvfz $src || exit 1
cd openssl-* || exit 1 cd openssl-* || exit 1
./config --prefix=$out shared || exit 1 ./config --prefix=$out shared || exit 1
make || exit 1 make || exit 1
mkdir $out || exit 1 mkdir $out || exit 1
make install || exit 1 make install || exit 1
echo $envpkgs > $out/envpkgs || exit 1

View File

@ -1,6 +1,8 @@
Package( Package(
[ ("name", "openssl-0.9.7b") [ ("name", "openssl-0.9.7b")
, ("build", Relative("openssl/openssl-build.sh")) , ("build", Relative("openssl/openssl-build.sh"))
, ("setenv", Relative("helpers/set-env.sh"))
, ("src", App(IncludeFix("fetchurl/fetchurl.fix"), , ("src", App(IncludeFix("fetchurl/fetchurl.fix"),
[ ("url", "http://www.openssl.org/source/openssl-0.9.7b.tar.gz") [ ("url", "http://www.openssl.org/source/openssl-0.9.7b.tar.gz")