From owner-freebsd-ports Fri Jun 8 6: 0:18 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2C39537B407 for ; Fri, 8 Jun 2001 06:00:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f58D0CS72673; Fri, 8 Jun 2001 06:00:12 -0700 (PDT) (envelope-from gnats) Received: from grisu.evk-koeln.de (grisu.evk-koeln.de [194.77.188.194]) by hub.freebsd.org (Postfix) with ESMTP id B0D4037B403 for ; Fri, 8 Jun 2001 05:52:01 -0700 (PDT) (envelope-from lamm@sauerbruch.evk-koeln.de) Received: from sauerbruch.evk-koeln.de([139.64.201.254]) (3838 bytes) by grisu.evk-koeln.de via sendmail with P:esmtp/R:inet_hosts/T:smtp (sender: ) id for ; Fri, 8 Jun 2001 14:56:01 +0200 (CEST) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Mar-14) Received: (from lamm@localhost) by sauerbruch.evk-koeln.de (8.11.2/8.11.3) id f58Cu0r39737; Fri, 8 Jun 2001 14:56:00 +0200 (CEST) (envelope-from lamm) Message-Id: <200106081256.f58Cu0r39737@sauerbruch.evk-koeln.de> Date: Fri, 8 Jun 2001 14:56:00 +0200 (CEST) From: holger@eit.uni-kl.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/27961: Bugfix: graphics/avifile Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 +#include #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