From 0c9fa906268bd3808865fb1b53dec5dd0ffcb0cf Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 1 Jun 2005 19:30:29 +0000 Subject: Convert to options framework. --- x11/qt3-libs/Makefile.common | 10 +++++++--- 1 file 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 -- cgit v1.2.3