diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-06-26 17:33:02 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-06-26 17:33:02 +0000 |
commit | 01789dd965d735cad740686b05be651ee60a23b1 (patch) | |
tree | 92109a6140d977bd48187d7144ce77a0dcdcbb7e | |
parent | 967b2bf7fecbc369080020fabe4a4cde84052845 (diff) | |
download | pkgsrc-01789dd965d735cad740686b05be651ee60a23b1.tar.gz |
o now we can use SDL's bulidlink.mk file, too
o set USE_BUILDLINK_ONLY
-rw-r--r-- | graphics/avifile-devel/Makefile | 45 | ||||
-rw-r--r-- | graphics/avifile-devel/distinfo | 6 |
2 files changed, 24 insertions, 27 deletions
diff --git a/graphics/avifile-devel/Makefile b/graphics/avifile-devel/Makefile index ab84bf354b0..190d176f9e5 100644 --- a/graphics/avifile-devel/Makefile +++ b/graphics/avifile-devel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/06/25 14:09:45 zuntum Exp $ +# $NetBSD: Makefile,v 1.6 2001/06/26 17:33:02 zuntum Exp $ # DISTNAME= avifile-0.6.20010618 @@ -12,7 +12,6 @@ HOMEPAGE= http://divx.euro.ru/ COMMENT= MPEG-4 (DivX) video player library DEPENDS+= win32-codecs>=010122:../../graphics/win32-codecs -DEPENDS+= SDL>=1.1.2:../../devel/SDL DEPENDS+= automake-*:../../devel/automake WITH_QT?= NO @@ -25,44 +24,42 @@ PLIST_SUBST+= QT='@comment ' WRKSRC= ${WRKDIR}/avifile-0.6 -ONLY_FOR_PLATFORM= NetBSD-*-i386 +ONLY_FOR_PLATFORM= NetBSD-*-i386 -USE_X11= yes -USE_GMAKE= yes -USE_LIBTOOL= yes +USE_BUILDLINK_ONLY= YES +USE_CONFIG_WRAPPER= YES +USE_X11= YES +USE_GMAKE= YES +USE_LIBTOOL= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -GNU_CONFIGURE= yes +GNU_CONFIGURE= YES -CONFIGURE_ENV+= SDL_CONFIG="${LOCALBASE}/bin/sdl-config" +CXXFLAGS+= -L${BUILDLINK_DIR}/lib -I${BUILDLINK_DIR}/include -CXXFLAGS+= -L${BUILDLINK_DIR}/lib -I${BUILDLINK_DIR}/include - -CONFIGURE_ARGS+=--with-win32-path=${LOCALBASE}/lib/win32 \ - --enable-sdl \ - --enable-release \ - --disable-dpms +CONFIGURE_ARGS+= --with-win32-path=${LOCALBASE}/lib/win32 +CONFIGURE_ARGS+= --enable-release +CONFIGURE_ARGS+= --disable-dpms .if defined (WITH_QT) && ${WITH_QT} == YES -.include "../../x11/qt2-libs/buildlink.mk" .include "../../x11/qt2-designer/buildlink.mk" BUILDLINK_QTDIR= ${BUILDLINK_DIR}/qt2 QTDIR= ${X11PREFIX}/qt2 -CXXFLAGS+= -Wl,-R${QTDIR}/lib -CXXFLAGS+= -Wl,-R${LOCALBASE}/lib -CXXFLAGS+= -Wl,-R${X11BASE}/lib +CXXFLAGS+= -Wl,-R${QTDIR}/lib +CXXFLAGS+= -Wl,-R${LOCALBASE}/lib +CXXFLAGS+= -Wl,-R${X11BASE}/lib -CONFIGURE_ARGS+=--enable-qt -CONFIGURE_ARGS+=--with-qt-dir="${BUILDLINK_DIR}/qt2" +CONFIGURE_ARGS+= --enable-qt +CONFIGURE_ARGS+= --with-qt-dir="${BUILDLINK_DIR}/qt2" -CONFIGURE_ENV+= QTDIR="${BUILDLINK_DIR}/qt2" -CONFIGURE_ENV+= MOC="${BUILDLINK_QTDIR}/bin/moc" -CONFIGURE_ENV+= UIC="${BUILDLINK_QTDIR}/bin/uic" +CONFIGURE_ENV+= QTDIR="${BUILDLINK_DIR}/qt2" +CONFIGURE_ENV+= MOC="${BUILDLINK_QTDIR}/bin/moc" +CONFIGURE_ENV+= UIC="${BUILDLINK_QTDIR}/bin/uic" .endif pre-configure: cd ${WRKSRC} && ${SH} autogen.sh -.include "../../devel/pth/buildlink.mk" +.include "../../devel/SDL/buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/avifile-devel/distinfo b/graphics/avifile-devel/distinfo index e013ceb3066..7e8df5ec83d 100644 --- a/graphics/avifile-devel/distinfo +++ b/graphics/avifile-devel/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.3 2001/06/25 14:09:45 zuntum Exp $ +$NetBSD: distinfo,v 1.4 2001/06/26 17:33:02 zuntum Exp $ -SHA1 (avifile-0.6.20010618.tar.bz2) = 7bd6f699ca0f72a48559e8b490322bd2670191e1 -Size (avifile-0.6.20010618.tar.bz2) = 788276 bytes +SHA1 (avifile-0.6.20010616.tar.bz2) = b77741105d425162740d413ccb038b44aa32719e +Size (avifile-0.6.20010616.tar.bz2) = 766055 bytes SHA1 (patch-aa) = 462e2f0ca34d5a50ec87f9424b2ec9c84d3b8f6a SHA1 (patch-ab) = 65c1318ce1798d0e6c25fc0b61dd02be932a74d8 SHA1 (patch-ac) = ef62129e30cfed2a8494160d18146e4f536ce0fd |