GNU gv: Properly substitute the default value of `gsInterpreter'.
svn path=/nixpkgs/trunk/; revision=13740
This commit is contained in:
parent
2f770f46e4
commit
21443fb797
@ -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+";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user