summaryrefslogtreecommitdiff
path: root/x11/qt1
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-06-01 19:21:57 +0000
committerwiz <wiz@pkgsrc.org>2005-06-01 19:21:57 +0000
commitabcd3ddd468a3407d9a6206d1c2bfd821652e916 (patch)
treedd1c12ed040803d9ec53fb792e9664658b342a37 /x11/qt1
parent6d845f18f15ce110fe8a6e5f1e2d2ae07773ec43 (diff)
downloadpkgsrc-abcd3ddd468a3407d9a6206d1c2bfd821652e916.tar.gz
Convert to options framework.
Diffstat (limited to 'x11/qt1')
-rw-r--r--x11/qt1/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/qt1/Makefile b/x11/qt1/Makefile
index f13e0607bb8..ffd23541139 100644
--- a/x11/qt1/Makefile
+++ b/x11/qt1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2005/06/01 18:03:30 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2005/06/01 19:21:57 wiz Exp $
#
DISTNAME= qt-1.44
@@ -23,14 +23,16 @@ MAKE_ENV= QTDIR=${WRKSRC} QTPREFIX=${QTPREFIX}
MAKE_ENV+= CXXOPTS="${CFLAGS}"
BUILD_TARGET= src
-.include "../../mk/bsd.prefs.mk"
+PKG_OPTIONS_VAR= PKG_OPTIONS.qt1
+PKG_SUPPORTED_OPTIONS= gif
+.include "../../mk/bsd.options.mk"
.include "../../mk/x11.buildlink3.mk"
do-configure:
@cd ${WRKSRC} && ${MAKE} QTDIR=${WRKSRC} ${LOWER_OPSYS}-g++-static
-.if defined(USE_GIF)
+.if !empty(PKG_OPTIONS:Mgif)
post-patch:
cd ${WRKSRC} && ${PATCH} <${FILESDIR}/enablegif.patch
.endif