Permalink
Browse files

ghostscript: On second thought, should no be said to cups, lets make …

…this an if/then.
  • Loading branch information...
1 parent e8970d4 commit eb914f4a88a398db4ada518ef26d51a6c78528ca stumbles committed Jan 28, 2013
Showing with 5 additions and 2 deletions.
  1. +5 −2 printer/ghostscript/BUILD
View
7 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 &&

0 comments on commit eb914f4

Please sign in to comment.