GNU gv: Properly substitute the default value of `gsInterpreter'.

svn path=/nixpkgs/trunk/; revision=13740
This commit is contained in:
Ludovic Courtès 2009-01-12 11:12:17 +00:00
parent 2f770f46e4
commit 21443fb797

View File

@ -10,13 +10,16 @@ stdenv.mkDerivation rec {
buildInputs = [ Xaw3d ghostscriptX ];
postConfigure = [ "sed 's|\\<gs\\>|${ghostscriptX}/bin/gs|g' -i src/*.am" ];
postConfigure = ''
sed 's|\<gs\>|${ghostscriptX}/bin/gs|g' -i src/*.in
sed 's|"gs"|"${ghostscriptX}/bin/gs"|g' -i src/*.c
'';
doCheck = true;
meta = {
homepage = http://www.gnu.org/software/gv/;
description = "GNU gv, a PostScript/PDF document viewer";
license = "GPLv2+";
license = "GPLv3+";
};
}