diff options
author | wiz <wiz@pkgsrc.org> | 2005-06-01 19:21:57 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2005-06-01 19:21:57 +0000 |
commit | abcd3ddd468a3407d9a6206d1c2bfd821652e916 (patch) | |
tree | dd1c12ed040803d9ec53fb792e9664658b342a37 /x11 | |
parent | 6d845f18f15ce110fe8a6e5f1e2d2ae07773ec43 (diff) | |
download | pkgsrc-abcd3ddd468a3407d9a6206d1c2bfd821652e916.tar.gz |
Convert to options framework.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/qt1/Makefile | 8 |
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 |