Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 14:56:00 +0200 (CEST)
From:      holger@eit.uni-kl.de
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27961: Bugfix: graphics/avifile
Message-ID:  <200106081256.f58Cu0r39737@sauerbruch.evk-koeln.de>

next in thread | raw e-mail | index | archive | help

>Number:         27961
>Category:       ports
>Synopsis:       Bugfix: graphics/avifile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 08 06:00:11 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Holger Lamm
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
>Environment:
FreeBSD 4.2-RELEASE i386 

>Description:
The following bugs have been fixed:
- The WITH_MGA option is nonsense.
- With the presence of devel/pth, build fails. This is unfixed,
  now a message is presented and the build exits.
- With the presence of emulator/wine, build failed.
  This has been fixed.

>How-To-Repeat:

	

>Fix:


diff -urN avifile.orig/Makefile avifile/Makefile
--- avifile.orig/Makefile	Wed May 23 08:30:20 2001
+++ avifile/Makefile	Fri Jun  8 14:50:04 2001
@@ -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 @@
 		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 @@
 .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 -urN avifile.orig/files/patch-Makefile-libwin32Makefile avifile/files/patch-Makefile-libwin32Makefile
--- avifile.orig/files/patch-Makefile-libwin32Makefile	Thu Jan  1 01:00:00 1970
+++ avifile/files/patch-Makefile-libwin32Makefile	Fri Jun  8 14:43:19 2001
@@ -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 -urN avifile.orig/files/patch-aa avifile/files/patch-aa
--- avifile.orig/files/patch-aa	Wed May 23 08:30:25 2001
+++ avifile/files/patch-aa	Fri Jun  8 14:51:22 2001
@@ -7,5 +7,3 @@
 -#include <SDL/SDL_keysym.h>
 +#include <SDL11/SDL_keysym.h>
  #endif
- 
- 
diff -urN avifile.orig/files/patch-videocodecMakefile avifile/files/patch-videocodecMakefile
--- avifile.orig/files/patch-videocodecMakefile	Thu Jan  1 01:00:00 1970
+++ avifile/files/patch-videocodecMakefile	Fri Jun  8 14:43:19 2001
@@ -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=
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106081256.f58Cu0r39737>