diff options
author | drochner <drochner@pkgsrc.org> | 1999-10-01 15:12:23 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 1999-10-01 15:12:23 +0000 |
commit | 06d295b6ab449ae1bf6c5c6aa7573efe2a09b642 (patch) | |
tree | 4f3ceaec0a9982612c38cdf517fdfc177cb97c60 /x11/qt | |
parent | 64d39b82add0a4251d67ee65da4f3fca539fc215 (diff) | |
download | pkgsrc-06d295b6ab449ae1bf6c5c6aa7573efe2a09b642.tar.gz |
allow to enable GIF support (which is disabled per default due to
licensing problems) with a make variable (USE_GIF)
Diffstat (limited to 'x11/qt')
-rw-r--r-- | x11/qt/Makefile | 7 | ||||
-rw-r--r-- | x11/qt/files/enablegif.patch | 11 |
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/qt/Makefile b/x11/qt/Makefile index eac54246806..a8a30709558 100644 --- a/x11/qt/Makefile +++ b/x11/qt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 1999/07/08 08:06:59 agc Exp $ +# $NetBSD: Makefile,v 1.28 1999/10/01 15:12:23 drochner Exp $ # DISTNAME= qt-1.44 @@ -28,6 +28,11 @@ CXX= ${LOCALBASE}/egcs/bin/g++ do-configure: @cd ${WRKSRC} && ${MAKE} QTDIR=${WRKSRC} ${LOWER_OPSYS}-g++-static +.if defined(USE_GIF) +pre-build: + cd ${WRKSRC} && ${PATCH} <${FILESDIR}/enablegif.patch +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/moc ${PREFIX}/bin/ @${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/src/libqt.la ${PREFIX}/lib/ diff --git a/x11/qt/files/enablegif.patch b/x11/qt/files/enablegif.patch new file mode 100644 index 00000000000..d3b7924e0c4 --- /dev/null +++ b/x11/qt/files/enablegif.patch @@ -0,0 +1,11 @@ +$NetBSD: enablegif.patch,v 1.1 1999/10/01 15:12:23 drochner Exp $ +--- src/kernel/qt_gif.h.orig Fri Feb 26 17:58:47 1999 ++++ src/kernel/qt_gif.h Sun Sep 26 00:09:22 1999 +@@ -14,6 +14,6 @@ + ** + *****************************************************************************/ + +-#define QT_BUILTIN_GIF_READER 0 ++#define QT_BUILTIN_GIF_READER 1 + + bool qt_builtin_gif_reader(); |