summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2004-12-04 00:35:12 +0000
committeradamw <adamw@FreeBSD.org>2004-12-04 00:35:12 +0000
commitefaf0fdf0c3f0d35f81609239970698cf589627c (patch)
tree08f0b0e94e6faafb9a5ae1cede288426c38ab608
parent4f906a98011000248de23df0eaf9be4cb717a0e1 (diff)
downloadFreeBSD-ports-efaf0fdf0c3f0d35f81609239970698cf589627c.zip
FreeBSD-ports-efaf0fdf0c3f0d35f81609239970698cf589627c.tar.gz
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.
-rw-r--r--print/gimp-print/Makefile7
-rw-r--r--print/gutenprint-base/Makefile7
-rw-r--r--print/gutenprint/Makefile7
3 files changed, 12 insertions, 9 deletions
diff --git a/print/gimp-print/Makefile b/print/gimp-print/Makefile
index bdc46ba..2c57133 100644
--- a/print/gimp-print/Makefile
+++ b/print/gimp-print/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)
diff --git a/print/gutenprint-base/Makefile b/print/gutenprint-base/Makefile
index bdc46ba..2c57133 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)
diff --git a/print/gutenprint/Makefile b/print/gutenprint/Makefile
index bdc46ba..2c57133 100644
--- a/print/gutenprint/Makefile
+++ b/print/gutenprint/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)
OpenPOWER on IntegriCloud