View | Details | Raw Unified | Return to bug 27961
Collapse All | Expand All

(-)avifile/Makefile (-7 / +6 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	avifile
8
PORTNAME=	avifile
9
PORTVERSION=	0.60.20010429
9
PORTVERSION=	0.60.20010429
10
PORTREVISION=	1
10
CATEGORIES=	graphics
11
CATEGORIES=	graphics
11
MASTER_SITES=	http://ernie.eit.uni-kl.de/avifile/ \
12
MASTER_SITES=	http://ernie.eit.uni-kl.de/avifile/ \
12
		http://divx.euro.ru/ \
13
		http://divx.euro.ru/ \
Lines 34-42 Link Here
34
		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
35
		CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
35
CONFIGURE_ARGS=	--with-win32-path=${LOCALBASE}/lib/win32 \
36
CONFIGURE_ARGS=	--with-win32-path=${LOCALBASE}/lib/win32 \
36
		--enable-release --with-gnu-ld
37
		--enable-release --with-gnu-ld
37
.if defined(WITH_MGA)
38
CONFIGURE_ARGS+=--enable-mga
39
.endif
40
38
41
PLIST_SUB=	LIB_VERSION="${LIB_VERSION}"
39
PLIST_SUB=	LIB_VERSION="${LIB_VERSION}"
42
40
Lines 59-68 Link Here
59
.include <bsd.port.pre.mk>
57
.include <bsd.port.pre.mk>
60
58
61
pre-extract:
59
pre-extract:
62
.if !defined(WITH_MGA)
60
	@if [ -f ${LOCALBASE}/lib/libpth.so ]; then \
63
	@${ECHO_MSG} "You can enable special MGA support by building with -DWITH_MGA."
61
	  ${ECHO_MSG} "Error: This packet does not compile when the \
64
.endif
62
packet 'pth' is installed.";\
65
63
	  ${FALSE};\
64
	fi
66
do-configure:
65
do-configure:
67
	(cd ${WRKSRC} && aclocal && ./autogen.sh &&\
66
	(cd ${WRKSRC} && aclocal && ./autogen.sh &&\
68
	${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS})
67
	${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS})
(-)avifile/files/patch-Makefile-libwin32Makefile (+10 lines)
Line 0 Link Here
1
--- plugins/libwin32/Makefile.am.orig	Wed Jun  6 00:03:19 2001
2
+++ plugins/libwin32/Makefile.am	Wed Jun  6 00:03:37 2001
3
@@ -12,6 +12,6 @@
4
 
5
 libwin32_la_LDFLAGS = -module -version-info 0:0:0
6
 
7
-CPPFLAGS = @CPPFLAGS@ -Iloader -Iloader/wine -Ivideocodec -Iaudiodec -IDirectShow
8
+CPPFLAGS = -Iloader -Iloader/wine -Ivideocodec -Iaudiodec -IDirectShow @CPPFLAGS@
9
 
10
 LIBS = @AVILIBDEPLIB@
(-)avifile/files/patch-aa (-2 lines)
Lines 7-11 Link Here
7
-#include <SDL/SDL_keysym.h>
7
-#include <SDL/SDL_keysym.h>
8
+#include <SDL11/SDL_keysym.h>
8
+#include <SDL11/SDL_keysym.h>
9
 #endif
9
 #endif
10
 
11
 
(-)avifile/files/patch-videocodecMakefile (+10 lines)
Line 0 Link Here
1
--- plugins/libwin32/videocodec/Makefile.am.orig	Mon Jun  4 20:47:34 2001
2
+++ plugins/libwin32/videocodec/Makefile.am	Mon Jun  4 20:47:52 2001
3
@@ -5,6 +5,6 @@
4
 libvideocodec_la_SOURCES=DS_VideoDecoder.cpp VideoEncoder.cpp \
5
  VideoDecoder.cpp Module.cpp VideoCodec.cpp
6
 
7
-CPPFLAGS = @CPPFLAGS@ -I../loader -I../DirectShow
8
+CPPFLAGS = -I../loader -I../DirectShow @CPPFLAGS@
9
 
10
 LIBS=

Return to bug 27961