summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz>2005-06-01 19:30:29 +0000
committerwiz <wiz>2005-06-01 19:30:29 +0000
commit0c9fa906268bd3808865fb1b53dec5dd0ffcb0cf (patch)
treeed217079a0dc11395c97f8d94a94da281341a342 /x11
parenta395ef2588abd87f4f69f435d6513c63ce0e6f87 (diff)
downloadpkgsrc-0c9fa906268bd3808865fb1b53dec5dd0ffcb0cf.tar.gz
Convert to options framework.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt3-libs/Makefile.common10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11/qt3-libs/Makefile.common b/x11/qt3-libs/Makefile.common
index 251e4594f51..604e804c7cd 100644
--- a/x11/qt3-libs/Makefile.common
+++ b/x11/qt3-libs/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.49 2005/06/01 18:03:30 jlam Exp $
+# $NetBSD: Makefile.common,v 1.50 2005/06/01 19:30:29 wiz Exp $
#
DISTNAME= qt-x11-free-${QTVERSION}
CATEGORIES= x11
@@ -67,13 +67,17 @@ CONFIGURE_ARGS+= -platform freebsd-g++
CONFIGURE_ARGS+= -no-xinerama
.endif
-.if defined(USE_CUPS) && !empty(USE_CUPS:M[yY][eE][sS])
+PKG_OPTIONS_VAR= PKG_OPTIONS.qt3
+PKG_SUPPORTED_OPTIONS= cups
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mcups)
. include "../../print/cups/buildlink3.mk"
CONFIGURE_ARGS+= -cups
.else
CONFIGURE_ARGS+= -no-cups
.endif
-BUILD_DEFS+= USE_CUPS
#
# Reverse the change to how templates are handled made between 3.0.4