diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-01 19:30:29 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-01 19:30:29 +0000 |
commit | dc06407ebd1b40bdc640b38bfd722bcf24e20cdf (patch) | |
tree | ed217079a0dc11395c97f8d94a94da281341a342 /x11 | |
parent | b1f934a4a52aa557bfc4b0fdcc2da1a80b81a64b (diff) | |
download | pkgsrc-dc06407ebd1b40bdc640b38bfd722bcf24e20cdf.tar.gz |
Convert to options framework.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qt3-libs/Makefile.common | 10 |
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 |