[Lunar-commits] <moonbase-other> ghostscript: On second thought, should no be said to cups, lets make this an if/then.

stumbles stumbles at lunar-linux.org
Mon Jan 28 13:54:01 CET 2013


commit eb914f4a88a398db4ada518ef26d51a6c78528ca
Author: stumbles <stumbles at lunar-linux.org>
Date: Mon, 28 Jan 2013 04:54:01 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/eb914f4a88a398db4ada518ef26d51a6c78528ca

ghostscript: On second thought, should no be said to cups, lets make this an if/then.
---
  printer/ghostscript/BUILD | +5/-2     
  1 file changed, 5 insertions(+), 2 deletions(-)

--- a/printer/ghostscript/BUILD
+++ b/printer/ghostscript/BUILD
@@ -5,11 +5,14 @@
   verbose_msg "Removing unneeded local libs" &&
   rm -rf expat freetype jasper jbig2dec jpeg{,xr} lcms{,2} libpng tiff zlib &&
 
-  OPTS+=" --disable-compile-inits --enable-dynamic --with-system-libtiff LIBS=-lz --with-install-cups" &&
+  OPTS+=" --disable-compile-inits --enable-dynamic --with-system-libtiff LIBS=-lz" &&
+
+  if in_depends $MODULE cups ; then
+    OPTS+=" --with-install-cups"
+  fi &&
 
   # Will run ./configure with Lunar's options, in default_build
   sedit "s:\$srcdir/configure:echo:" autogen.sh &&
-
   ./autogen.sh $OPTS &&
 
   default_build &&




More information about the Lunar-commits mailing list