* Various purity fixes for Ghostscript.

svn path=/nixpkgs/trunk/; revision=6452
This commit is contained in:
Eelco Dolstra
2006-09-04 11:01:37 +00:00
parent 059b3f0669
commit 51ca4a6a91
3 changed files with 47 additions and 2 deletions

View File

@@ -26,5 +26,12 @@ stdenv.mkDerivation {
(if x11Support then x11 else null)
];
configureFlags = if x11Support then "--with-x" else "--without-x";
configureFlags = "
${if x11Support then "--with-x" else "--without-x"}
";
# This patch is required to make Ghostscript at least build in a pure
# environment (like NixOS). Ghostscript's build process performs
# various tests for the existence of files in /usr/include.
patches = [ ./purity.patch ];
}