pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/qt3-libs Convert to options framework.
details: https://anonhg.NetBSD.org/pkgsrc/rev/114def5eeb57
branches: trunk
changeset: 495027:114def5eeb57
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Jun 01 19:30:29 2005 +0000
description:
Convert to options framework.
diffstat:
x11/qt3-libs/Makefile.common | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r d8170ed733f4 -r 114def5eeb57 x11/qt3-libs/Makefile.common
--- a/x11/qt3-libs/Makefile.common Wed Jun 01 19:23:26 2005 +0000
+++ b/x11/qt3-libs/Makefile.common Wed Jun 01 19:30:29 2005 +0000
@@ -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+= -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
Home |
Main Index |
Thread Index |
Old Index