aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ogmtools
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-11-14 06:18:36 +0800
committerlioux <lioux@FreeBSD.org>2002-11-14 06:18:36 +0800
commitcce241bf90016929ac840bee28433b6b01308175 (patch)
treea1a07d5f28f37e17ecace0502a9c2c06fdbbf862 /multimedia/ogmtools
parentc65f7db005fb5cb9becba79fb2fc7a295587d437 (diff)
downloadfreebsd-ports-gnome-cce241bf90016929ac840bee28433b6b01308175.tar.gz
freebsd-ports-gnome-cce241bf90016929ac840bee28433b6b01308175.tar.zst
freebsd-ports-gnome-cce241bf90016929ac840bee28433b6b01308175.zip
Improve GNU auto* tools disabling
Diffstat (limited to 'multimedia/ogmtools')
-rw-r--r--multimedia/ogmtools/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/multimedia/ogmtools/Makefile b/multimedia/ogmtools/Makefile
index 305443694a1f..ccab64115715 100644
--- a/multimedia/ogmtools/Makefile
+++ b/multimedia/ogmtools/Makefile
@@ -25,11 +25,13 @@ CONFIGURE_ARGS= --with-ogg-prefix=${LOCALBASE} \
MAN1= ogmdemux.1 ogminfo.1 ogmmerge.1 ogmsplit.1
-post-configure:
+post-patch:
# disable GNU auto* tools
- @${FIND} ${WRKSRC} -type f -name "Makefile" | ${XARGS} \
+ @${FIND} ${WRKSRC} -type f -name "Makefile.in" | ${XARGS} \
-n 10 ${REINPLACE_CMD} -E -e \
- 's! (autoconf|autoheader|automake|aclocal)(-1.6)?$$! ${TRUE}!'
+ 's!^(ACLOCAL|AUTOCONF|AUTOMAKE|AUTOHEADER).+$$!\1=${TRUE}!'
+
+post-configure:
# malloc.h -> stdlib.h
@${FIND} ${WRKSRC} -type f | ${XARGS} \
-n 10 ${REINPLACE_CMD} -E -e \