summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2003-01-29 13:23:31 +0000
committeralane <alane@FreeBSD.org>2003-01-29 13:23:31 +0000
commitec28d10ad515c19d58fdc283c89f86e0ef7e1b9f (patch)
treefe2f1d4cba9199b3e62629d34cd798f892ac774c /x11-toolkits
parent6f3eabee004d7d06a97273293f9cb66c6be4e253 (diff)
downloadFreeBSD-ports-ec28d10ad515c19d58fdc283c89f86e0ef7e1b9f.zip
FreeBSD-ports-ec28d10ad515c19d58fdc283c89f86e0ef7e1b9f.tar.gz
Add knob for turning off cups support.
PR: 47627 Submitted by: Sergey A. Osokin
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/qt31/Makefile8
-rw-r--r--x11-toolkits/qt32/Makefile8
-rw-r--r--x11-toolkits/qt33/Makefile8
3 files changed, 18 insertions, 6 deletions
diff --git a/x11-toolkits/qt31/Makefile b/x11-toolkits/qt31/Makefile
index db81092..d91c881 100644
--- a/x11-toolkits/qt31/Makefile
+++ b/x11-toolkits/qt31/Makefile
@@ -21,8 +21,7 @@ MAINTAINER?= kde@FreeBSD.org
LIB_DEPENDS+= mng.1:${PORTSDIR}/graphics/libmng \
png.5:${PORTSDIR}/graphics/png \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
- cups.2:${PORTSDIR}/print/cups-base
+ jpeg.9:${PORTSDIR}/graphics/jpeg
USE_BZIP2= yes
USE_GMAKE= yes
@@ -54,7 +53,12 @@ PKGNAMESUFFIX= -xinerama
XINERAMA= -no-xinerama
.endif # defined(WITH_XINERAMA)
+.if !defined(WITHOUT_CUPS)
+LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
CUPS= -cups -L${LOCALBASE}/lib -I${LOCALBASE}/include
+.else
+CUPS=
+.endif
CONFIGURE_ENV= ${ECHO} yes | QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} \
diff --git a/x11-toolkits/qt32/Makefile b/x11-toolkits/qt32/Makefile
index db81092..d91c881 100644
--- a/x11-toolkits/qt32/Makefile
+++ b/x11-toolkits/qt32/Makefile
@@ -21,8 +21,7 @@ MAINTAINER?= kde@FreeBSD.org
LIB_DEPENDS+= mng.1:${PORTSDIR}/graphics/libmng \
png.5:${PORTSDIR}/graphics/png \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
- cups.2:${PORTSDIR}/print/cups-base
+ jpeg.9:${PORTSDIR}/graphics/jpeg
USE_BZIP2= yes
USE_GMAKE= yes
@@ -54,7 +53,12 @@ PKGNAMESUFFIX= -xinerama
XINERAMA= -no-xinerama
.endif # defined(WITH_XINERAMA)
+.if !defined(WITHOUT_CUPS)
+LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
CUPS= -cups -L${LOCALBASE}/lib -I${LOCALBASE}/include
+.else
+CUPS=
+.endif
CONFIGURE_ENV= ${ECHO} yes | QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} \
diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile
index db81092..d91c881 100644
--- a/x11-toolkits/qt33/Makefile
+++ b/x11-toolkits/qt33/Makefile
@@ -21,8 +21,7 @@ MAINTAINER?= kde@FreeBSD.org
LIB_DEPENDS+= mng.1:${PORTSDIR}/graphics/libmng \
png.5:${PORTSDIR}/graphics/png \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
- cups.2:${PORTSDIR}/print/cups-base
+ jpeg.9:${PORTSDIR}/graphics/jpeg
USE_BZIP2= yes
USE_GMAKE= yes
@@ -54,7 +53,12 @@ PKGNAMESUFFIX= -xinerama
XINERAMA= -no-xinerama
.endif # defined(WITH_XINERAMA)
+.if !defined(WITHOUT_CUPS)
+LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
CUPS= -cups -L${LOCALBASE}/lib -I${LOCALBASE}/include
+.else
+CUPS=
+.endif
CONFIGURE_ENV= ${ECHO} yes | QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} \
OpenPOWER on IntegriCloud