summaryrefslogtreecommitdiff
path: root/print/gutenprint-base
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2004-12-04 00:35:12 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2004-12-04 00:35:12 +0000
commitce7d36f4ee47c17e78bcf1adf410f6cc2db948d4 (patch)
tree359e9d922855bc0c0f7531ff5ad3672958a8acdb /print/gutenprint-base
parentUpdate to 0.85.0 (diff)
Disable CUPS support by default.
This brings gimp-print in-line with the other GNOME-related apps and libs, which only enable CUPS support if explicitly requested.
Notes
Notes: svn path=/head/; revision=123061
Diffstat (limited to 'print/gutenprint-base')
-rw-r--r--print/gutenprint-base/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/gutenprint-base/Makefile b/print/gutenprint-base/Makefile
index bdc46ba1716b..2c571331a05d 100644
--- a/print/gutenprint-base/Makefile
+++ b/print/gutenprint-base/Makefile
@@ -33,13 +33,14 @@ INFO= gimpprint
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
-.if defined(WITHOUT_CUPS)
-PLIST_SUB+= CUPS="@comment "
-.else
+.if defined(WITH_CUPS) && !defined(WITHOUT_CUPS)
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
RUN_DEPENDS+= espgs:${PORTSDIR}/print/cups-pstoraster
CONFIGURE_ARGS+= --with-cups=${PREFIX}
PLIST_SUB+= CUPS=""
+.else
+PLIST_SUB+= CUPS="@comment "
+CONFIGURE_ARGS+= --without-cups
.endif
.if defined(WITHOUT_IJS)