diff options
author | kevlo <kevlo@FreeBSD.org> | 2002-01-17 21:53:08 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2002-01-17 21:53:08 +0800 |
commit | d93a00992fc902779f034731df8c4bce1fa2239c (patch) | |
tree | fc845eaff55015002213a6ea5bb5adaf5392df58 /multimedia | |
parent | de28f18c7ebf2f1303525b12646ebf59ce7e94d1 (diff) | |
download | freebsd-ports-graphics-d93a00992fc902779f034731df8c4bce1fa2239c.tar.gz freebsd-ports-graphics-d93a00992fc902779f034731df8c4bce1fa2239c.tar.zst freebsd-ports-graphics-d93a00992fc902779f034731df8c4bce1fa2239c.zip |
Patch is replaced with a perl in-place regex.
Suggested by will@
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/avifile/Makefile | 5 | ||||
-rw-r--r-- | multimedia/avifile/files/patch-autogen.sh | 13 | ||||
-rw-r--r-- | multimedia/avifile/files/patch-libmmxnow-autogen.sh | 13 |
3 files changed, 5 insertions, 26 deletions
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile index 6fa406a7b89..bb68028d621 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 ad2ec0bc0bd..00000000000 --- 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 792b0f90821..00000000000 --- 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 |