diff options
author | kevlo <kevlo@FreeBSD.org> | 2002-01-17 13:53:08 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2002-01-17 13:53:08 +0000 |
commit | d93a00992fc902779f034731df8c4bce1fa2239c (patch) | |
tree | fc845eaff55015002213a6ea5bb5adaf5392df58 /graphics | |
parent | de28f18c7ebf2f1303525b12646ebf59ce7e94d1 (diff) | |
download | FreeBSD-ports-d93a00992fc902779f034731df8c4bce1fa2239c.zip FreeBSD-ports-d93a00992fc902779f034731df8c4bce1fa2239c.tar.gz |
Patch is replaced with a perl in-place regex.
Suggested by will@
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/avifile/Makefile | 5 | ||||
-rw-r--r-- | graphics/avifile/files/patch-autogen.sh | 13 | ||||
-rw-r--r-- | graphics/avifile/files/patch-libmmxnow-autogen.sh | 13 |
3 files changed, 5 insertions, 26 deletions
diff --git a/graphics/avifile/Makefile b/graphics/avifile/Makefile index 6fa406a..bb68028 100644 --- a/graphics/avifile/Makefile +++ b/graphics/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/graphics/avifile/files/patch-autogen.sh b/graphics/avifile/files/patch-autogen.sh deleted file mode 100644 index ad2ec0b..0000000 --- a/graphics/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/graphics/avifile/files/patch-libmmxnow-autogen.sh b/graphics/avifile/files/patch-libmmxnow-autogen.sh deleted file mode 100644 index 792b0f9..0000000 --- a/graphics/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 |