ghostscript: CUPS support is no longer enabled by default in version 9.x

We must explicitly give the "--with-install-cups" option at configure time to
get the gstoraster filter installed.

svn path=/nixpkgs/trunk/; revision=31487
This commit is contained in:
Peter Simons 2012-01-11 23:14:07 +00:00
parent 9cea0dd1c6
commit 1aaf70f4d7

View File

@ -85,7 +85,9 @@ stdenv.mkDerivation rec {
makeFlagsArray=(CUPSSERVERBIN=$out/lib/cups CUPSSERVERROOT=$out/etc/cups CUPSDATA=$out/share/cups)
'';
configureFlags = if x11Support then [ "--with-x" ] else [ "--without-x" ];
configureFlags =
(if x11Support then [ "--with-x" ] else [ "--without-x" ]) ++
(if cupsSupport then [ "--enable-cups" "--with-install-cups" ] else [ "--disable-cups" ]);
doCheck = true;