diff options
author | roam <roam@FreeBSD.org> | 2001-06-08 13:11:07 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2001-06-08 13:11:07 +0000 |
commit | 3484b087b04c6e9e968f921830e9128ca143c400 (patch) | |
tree | b158f2dd9e32411372703e9302a63272a5697675 /multimedia | |
parent | 6e5860ed03cf478ad338ed499d40895649896ab6 (diff) | |
download | FreeBSD-ports-3484b087b04c6e9e968f921830e9128ca143c400.zip FreeBSD-ports-3484b087b04c6e9e968f921830e9128ca143c400.tar.gz |
Fix build when WINE is installed.
Abort the build when GNU pth is installed.
Remove the WITH_MGA knob.
PR: 27961
Submitted by: maintainer
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/avifile/Makefile | 13 | ||||
-rw-r--r-- | multimedia/avifile/files/patch-Makefile-libwin32Makefile | 10 | ||||
-rw-r--r-- | multimedia/avifile/files/patch-aa | 2 | ||||
-rw-r--r-- | multimedia/avifile/files/patch-videocodecMakefile | 10 |
4 files changed, 26 insertions, 9 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile index 529dd15..defce24 100644 --- a/multimedia/avifile/Makefile +++ b/multimedia/avifile/Makefile @@ -7,6 +7,7 @@ PORTNAME= avifile PORTVERSION= 0.60.20010429 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://ernie.eit.uni-kl.de/avifile/ \ http://divx.euro.ru/ \ @@ -34,9 +35,6 @@ CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" CONFIGURE_ARGS= --with-win32-path=${LOCALBASE}/lib/win32 \ --enable-release --with-gnu-ld -.if defined(WITH_MGA) -CONFIGURE_ARGS+=--enable-mga -.endif PLIST_SUB= LIB_VERSION="${LIB_VERSION}" @@ -59,10 +57,11 @@ DIFF?= /usr/bin/diff .include <bsd.port.pre.mk> pre-extract: -.if !defined(WITH_MGA) - @${ECHO_MSG} "You can enable special MGA support by building with -DWITH_MGA." -.endif - + @if [ -f ${LOCALBASE}/lib/libpth.so ]; then \ + ${ECHO_MSG} "Error: This packet does not compile when the \ +packet 'pth' is installed.";\ + ${FALSE};\ + fi do-configure: (cd ${WRKSRC} && aclocal && ./autogen.sh &&\ ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS}) diff --git a/multimedia/avifile/files/patch-Makefile-libwin32Makefile b/multimedia/avifile/files/patch-Makefile-libwin32Makefile new file mode 100644 index 0000000..b4a50e2 --- /dev/null +++ b/multimedia/avifile/files/patch-Makefile-libwin32Makefile @@ -0,0 +1,10 @@ +--- plugins/libwin32/Makefile.am.orig Wed Jun 6 00:03:19 2001 ++++ plugins/libwin32/Makefile.am Wed Jun 6 00:03:37 2001 +@@ -12,6 +12,6 @@ + + libwin32_la_LDFLAGS = -module -version-info 0:0:0 + +-CPPFLAGS = @CPPFLAGS@ -Iloader -Iloader/wine -Ivideocodec -Iaudiodec -IDirectShow ++CPPFLAGS = -Iloader -Iloader/wine -Ivideocodec -Iaudiodec -IDirectShow @CPPFLAGS@ + + LIBS = @AVILIBDEPLIB@ diff --git a/multimedia/avifile/files/patch-aa b/multimedia/avifile/files/patch-aa index bf397cb..8ec08f8 100644 --- a/multimedia/avifile/files/patch-aa +++ b/multimedia/avifile/files/patch-aa @@ -7,5 +7,3 @@ -#include <SDL/SDL_keysym.h> +#include <SDL11/SDL_keysym.h> #endif - - diff --git a/multimedia/avifile/files/patch-videocodecMakefile b/multimedia/avifile/files/patch-videocodecMakefile new file mode 100644 index 0000000..6d5d8b0 --- /dev/null +++ b/multimedia/avifile/files/patch-videocodecMakefile @@ -0,0 +1,10 @@ +--- plugins/libwin32/videocodec/Makefile.am.orig Mon Jun 4 20:47:34 2001 ++++ plugins/libwin32/videocodec/Makefile.am Mon Jun 4 20:47:52 2001 +@@ -5,6 +5,6 @@ + libvideocodec_la_SOURCES=DS_VideoDecoder.cpp VideoEncoder.cpp \ + VideoDecoder.cpp Module.cpp VideoCodec.cpp + +-CPPFLAGS = @CPPFLAGS@ -I../loader -I../DirectShow ++CPPFLAGS = -I../loader -I../DirectShow @CPPFLAGS@ + + LIBS= |