aboutsummaryrefslogtreecommitdiff
path: root/multimedia/avifile
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2002-01-17 13:53:08 +0000
committerKevin Lo <kevlo@FreeBSD.org>2002-01-17 13:53:08 +0000
commit59c707609d810a83be9b70de94e1dc4a2b53a2d1 (patch)
treef4453bf4a3264b9ffe5902eb0141ab44a5b28cff /multimedia/avifile
parentb781f849cdfb6328a7746f3ed15297694dac932e (diff)
downloadports-59c707609d810a83be9b70de94e1dc4a2b53a2d1.tar.gz
ports-59c707609d810a83be9b70de94e1dc4a2b53a2d1.zip
Notes
Diffstat (limited to 'multimedia/avifile')
-rw-r--r--multimedia/avifile/Makefile5
-rw-r--r--multimedia/avifile/files/patch-autogen.sh13
-rw-r--r--multimedia/avifile/files/patch-libmmxnow-autogen.sh13
3 files changed, 5 insertions, 26 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile
index 6fa406a7b89a..bb68028d6215 100644
--- a/multimedia/avifile/Makefile
+++ b/multimedia/avifile/Makefile
@@ -65,6 +65,11 @@ pre-extract:
packet 'pth' is installed.";\
${FALSE};\
fi
+pre-patch:
+ @${PERL} -pi.orig -e 's|=autoconf|=${AUTOCONF}|; \
+ s|=autoheader|=${AUTOHEADER}|' ${WRKSRC}/autogen.sh
+ @${PERL} -pi.orig -e 's|=autoconf|=${AUTOCONF}|; \
+ s|=autoheader|=${AUTOHEADER}|' ${WRKSRC}/libmmxnow/autogen.sh
do-configure:
(cd ${WRKSRC} && aclocal && ./autogen.sh &&\
${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS})
diff --git a/multimedia/avifile/files/patch-autogen.sh b/multimedia/avifile/files/patch-autogen.sh
deleted file mode 100644
index ad2ec0bc0bd9..000000000000
--- a/multimedia/avifile/files/patch-autogen.sh
+++ /dev/null
@@ -1,13 +0,0 @@
---- 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/multimedia/avifile/files/patch-libmmxnow-autogen.sh b/multimedia/avifile/files/patch-libmmxnow-autogen.sh
deleted file mode 100644
index 792b0f908216..000000000000
--- a/multimedia/avifile/files/patch-libmmxnow-autogen.sh
+++ /dev/null
@@ -1,13 +0,0 @@
---- 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