diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-08-19 06:11:43 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-08-19 06:11:43 +0000 |
commit | 9fa59d09cf24b300cc45b646f0d364359354fae8 (patch) | |
tree | 45d03fd3c8d41a06525b657bf9dc0b50ed592112 | |
parent | bb98a4c6105997becebf73f5f8c2a13b6e167767 (diff) | |
download | pkgsrc-9fa59d09cf24b300cc45b646f0d364359354fae8.tar.gz |
Simplify things: when deciding whether to use qt2 or not, only check
if the WITH_QT is defined, don't check its value.
-rw-r--r-- | graphics/avifile-devel/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/graphics/avifile-devel/Makefile b/graphics/avifile-devel/Makefile index 32a4bfc0add..a39b953661d 100644 --- a/graphics/avifile-devel/Makefile +++ b/graphics/avifile-devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2001/08/14 19:59:50 zuntum Exp $ +# $NetBSD: Makefile,v 1.13 2001/08/19 06:11:43 zuntum Exp $ # DISTNAME= avifile-0.6.20010814 @@ -13,9 +13,7 @@ COMMENT= MPEG-4 (DivX) video player library DEPENDS+= win32-codecs>=010122:../../graphics/win32-codecs DEPENDS+= automake-*:../../devel/automake -WITH_QT?= NO - -.if defined (WITH_QT) && ${WITH_QT} == YES +.if defined (WITH_QT) PLIST_SUBST+= QT='' .else PLIST_SUBST+= QT='@comment ' @@ -39,7 +37,7 @@ CONFIGURE_ARGS+= --with-win32-path=${LOCALBASE}/lib/win32 CONFIGURE_ARGS+= --disable-dpms CONFIGURE_ARGS+= --disable-ffmpeg -.if defined (WITH_QT) && ${WITH_QT} == YES +.if defined (WITH_QT) .include "../../x11/qt2-designer/buildlink.mk" CXXFLAGS+= -Wl,-R${QTDIR}/lib CXXFLAGS+= -Wl,-R${LOCALBASE}/lib |