aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/avifile
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2002-01-13 00:40:23 +0800
committerkevlo <kevlo@FreeBSD.org>2002-01-13 00:40:23 +0800
commit52c85b5cdca1b38d7bf760b3511124c3361659af (patch)
treea302fa396f2e0b28e246f8359f8a752c0e4dc4b2 /graphics/avifile
parent9119c0fe81a003b5a408b7d6e658394dbe762a4b (diff)
downloadfreebsd-ports-graphics-52c85b5cdca1b38d7bf760b3511124c3361659af.tar.gz
freebsd-ports-graphics-52c85b5cdca1b38d7bf760b3511124c3361659af.tar.zst
freebsd-ports-graphics-52c85b5cdca1b38d7bf760b3511124c3361659af.zip
Fix autoconf/automake issue.
I haven't the patience to wait lioux@ to commit it, sorry. You know, I've been waiting for one month. PR: 32862 Submitted by: MAINTAINER
Diffstat (limited to 'graphics/avifile')
-rw-r--r--graphics/avifile/Makefile5
-rw-r--r--graphics/avifile/files/libwin32loader.patch13
-rw-r--r--graphics/avifile/files/patch-autogen.sh13
-rw-r--r--graphics/avifile/files/patch-libmmxnow-autogen.sh13
4 files changed, 42 insertions, 2 deletions
diff --git a/graphics/avifile/Makefile b/graphics/avifile/Makefile
index 4cd178a2506..5ecf7641c5e 100644
--- a/graphics/avifile/Makefile
+++ b/graphics/avifile/Makefile
@@ -28,8 +28,7 @@ USE_GMAKE= yes
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-0.6
-USE_AUTOCONF= yes
-USE_AUTOMAKE= yes
+USE_AUTOMAKE_VER=15
USE_LIBTOOL= yes
LIBTOOLFILES= acinclude.m4
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
@@ -70,11 +69,13 @@ packet 'pth' is installed.";\
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 --git a/graphics/avifile/files/libwin32loader.patch b/graphics/avifile/files/libwin32loader.patch
new file mode 100644
index 00000000000..2169b13bf5f
--- /dev/null
+++ b/graphics/avifile/files/libwin32loader.patch
@@ -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 $@
diff --git a/graphics/avifile/files/patch-autogen.sh b/graphics/avifile/files/patch-autogen.sh
new file mode 100644
index 00000000000..ad2ec0bc0bd
--- /dev/null
+++ b/graphics/avifile/files/patch-autogen.sh
@@ -0,0 +1,13 @@
+--- autogen.sh.orig Thu Jan 10 23:25:46 2002
++++ autogen.sh Thu Jan 10 23:25:57 2002
+@@ -8,8 +8,8 @@
+
+ # Debian unstable allows to have several different versions of autoconf
+ # in the one system
+-use_autoconf=autoconf
+-use_autoheader=autoheader
++use_autoconf=autoconf213
++use_autoheader=autoheader213
+ # I think links are now OK
+ use_copy=
+ #"--copy"
diff --git a/graphics/avifile/files/patch-libmmxnow-autogen.sh b/graphics/avifile/files/patch-libmmxnow-autogen.sh
new file mode 100644
index 00000000000..792b0f90821
--- /dev/null
+++ b/graphics/avifile/files/patch-libmmxnow-autogen.sh
@@ -0,0 +1,13 @@
+--- libmmxnow/autogen.sh.orig Thu Jan 10 23:27:57 2002
++++ libmmxnow/autogen.sh Thu Jan 10 23:28:06 2002
+@@ -8,8 +8,8 @@
+
+ # Debian unstable allows to have several different versions of autoconf
+ # in the one system
+-use_autoconf=autoconf
+-use_autoheader=autoheader
++use_autoconf=autoconf213
++use_autoheader=autoheader213
+ use_copy="--copy"
+ ( which autoconf2.50 2>/dev/null | grep -q "^/" ) && use_autoconf=autoconf2.50
+ ( which autoheader2.50 2>/dev/null | grep -q "^/" ) && use_autoheader=autoheader2.50