summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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