development/libraries/nss: Fix building on Linux 3.x.

svn path=/nixpkgs/trunk/; revision=29399
This commit is contained in:
Alexander Tsamutali 2011-09-20 19:46:40 +00:00
parent de89582238
commit a26835c2bc

View File

@ -27,6 +27,7 @@ stdenv.mkDerivation {
postPatch = ''
sed -i -e "/^PREFIX =/s:= /usr:= $out:" \
"mozilla/security/nss/config/Makefile"
ln -s Linux2.6.mk mozilla/security/coreconf/Linux3.0.mk
'';
preConfigure = "cd mozilla/security/nss";