summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-10-12 18:02:19 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-10-12 18:02:19 +0800
commitfb4e687d19946c2e288f41afa95a253905421943 (patch)
treea1703c1808c84205901f88af75f9e6d47a16685b /x11-toolkits/gtk20/Makefile
parentd0ae3b830d6716dbac6db35b22d84dd1ec4f55f1 (diff)
downloadmarcuscom-ports-fb4e687d19946c2e288f41afa95a253905421943.tar
marcuscom-ports-fb4e687d19946c2e288f41afa95a253905421943.tar.gz
marcuscom-ports-fb4e687d19946c2e288f41afa95a253905421943.tar.bz2
marcuscom-ports-fb4e687d19946c2e288f41afa95a253905421943.tar.lz
marcuscom-ports-fb4e687d19946c2e288f41afa95a253905421943.tar.xz
marcuscom-ports-fb4e687d19946c2e288f41afa95a253905421943.tar.zst
marcuscom-ports-fb4e687d19946c2e288f41afa95a253905421943.zip
Turn CUPS support from a hidden option in to a propper option.
Prompted by: kris moore @ EuroBSDCon git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14809 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gtk20/Makefile')
-rw-r--r--x11-toolkits/gtk20/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 4a01ee86b..22397d627 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -3,7 +3,7 @@
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
#
# $FreeBSD$
-# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.205 2010/09/30 20:15:29 kwm Exp $
+# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.206 2010/09/30 23:01:55 kwm Exp $
#
PORTNAME= gtk
@@ -55,10 +55,11 @@ MAN1= gtk-query-immodules-2.0.1 gtk-update-icon-cache.1
CONFIGURE_ARGS+= --enable-debug=yes
.endif
+OPTIONS= CUPS "Enable cups printing support" on
+
.include <bsd.port.pre.mk>
-.if (defined(WITH_CUPS) || exists(${LOCALBASE}/lib/libcups.so)) && \
- !defined(WITHOUT_CUPS)
+.if defined(WITH_CUPS)
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client
CONFIGURE_ARGS+=--enable-cups=auto
PLIST_SUB+= CUPS:=""