Bug 32682

Summary: Bugfix graphics/avifile
Product: Ports & Packages Reporter: holger <holger>
Component: Individual Port(s)Assignee: Mario Sergio Fujikawa Ferreira <lioux>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description holger 2001-12-10 21:40:00 UTC
The new autoconf/automake concepts makes compiling problems.
Updated to use automake15

New file:
- files/patch-libwin32loader
Comment 1 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2001-12-11 03:50:56 UTC
Responsible Changed
From-To: freebsd-ports->lioux

I'll handle this.
Comment 2 dirk.meyer 2001-12-28 10:28:43 UTC
changed patch, so it it applies to existing files, after configure.

diff avifile/Makefile avifile/Makefile
--- avifile/Makefile	Sun Sep 30 21:09:57 2001
+++ avifile/Makefile	Fri Dec 28 10:01:17 2001
@@ -28,8 +28,8 @@
 INSTALLS_SHLIB=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}-0.6
 
-USE_AUTOCONF=	yes
-USE_AUTOMAKE=	yes
+USE_AUTOCONF_VER=213
+USE_AUTOMAKE_VER=15
 USE_LIBTOOL=	yes
 LIBTOOLFILES=	acinclude.m4
 CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}" \
@@ -70,11 +71,13 @@
 do-configure:
 	(cd ${WRKSRC} && aclocal && ./autogen.sh &&\
 	${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS})
+
 # Libtool fix code kindly provided by Mr. Maxim Sobolev <sobomax@FreeBSD.org>
 post-configure:
 	@${PERL} -pi -e \
 		's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
 			${WRKSRC}/libtool
+	${PATCH} ${PATCH_ARGS} -p0 < ${FILESDIR}/libwin32loader.patch
 
 post-install:
 	@${FMT} < ${PKGMESSAGE}
diff avifile/files/libwin32loader.patch avifile/files/libwin32loader.patch
--- avifile/files/libwin32loader.patch	Thu Jan  1 01:00:00 1970
+++ avifile/files/libwin32loader.patch	Fri Dec 28 10:44:24 2001
@@ -0,0 +1,13 @@
+--- plugins/libwin32/loader/Makefile.orig	Fri Dec 28 10:36:49 2001
++++ plugins/libwin32/loader/Makefile	Fri Dec 28 10:35:55 2001
+@@ -534,8 +534,8 @@
+ # so we eliminate .rel.text section from library
+ # it works this way too
+ # we actually don't need this line
+-#stubs.lo: stubs.s
+-#	$(CC) -c $(srcdir)/stubs.s -o stubs.lo
++stubs.lo: stubs.s
++	$(CC) -c $(srcdir)/stubs.s -o stubs.lo
+ 
+ #win32.lo: win32.c
+ #	$(CC) -O2 -fno-inline -fno-strict-aliasing $(DEFS) $(WINFLAGS) -c $< -o $@
Comment 3 Kevin Lo freebsd_committer freebsd_triage 2002-01-12 16:40:31 UTC
State Changed
From-To: open->closed

Committed, thanks.