summaryrefslogtreecommitdiff
path: root/x11-toolkits/qt33
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2003-01-29 13:23:31 +0000
committerAlan Eldridge <alane@FreeBSD.org>2003-01-29 13:23:31 +0000
commitb5b56f1c7d2cb7ea2de0270807d8c512ea9dae3f (patch)
treeacb32466eb1d501bbe28826830c72a04102fe771 /x11-toolkits/qt33
parentturn off debug build by default (diff)
Add knob for turning off cups support.
PR: 47627 Submitted by: Sergey A. Osokin
Notes
Notes: svn path=/head/; revision=74207
Diffstat (limited to 'x11-toolkits/qt33')
-rw-r--r--x11-toolkits/qt33/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile
index db810923bbe8..d91c8813cfad 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} \