Author: simons
Date: Wed Jan 11 23:14:07 2012
New Revision: 31487
URL: https://nixos.org/websvn/nix/?rev=31487&sc=1

Log:
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.

Modified:
   nixpkgs/trunk/pkgs/misc/ghostscript/default.nix

Modified: nixpkgs/trunk/pkgs/misc/ghostscript/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/misc/ghostscript/default.nix     Wed Jan 11 22:58:32 
2012        (r31486)
+++ nixpkgs/trunk/pkgs/misc/ghostscript/default.nix     Wed Jan 11 23:14:07 
2012        (r31487)
@@ -85,7 +85,9 @@
     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;
 
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to