diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-11-13 22:18:36 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-11-13 22:18:36 +0000 |
commit | 62d275434107b2b9d54be283287f29b33a316320 (patch) | |
tree | db32d2f166a770041774bf25986dc7e908e7e112 | |
parent | Add back ALL_TARGET, erroneously deleted in previous commit (diff) |
Improve GNU auto* tools disabling
Notes
Notes:
svn path=/head/; revision=70070
-rw-r--r-- | graphics/ogmtools/Makefile | 8 | ||||
-rw-r--r-- | multimedia/ogmtools/Makefile | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/graphics/ogmtools/Makefile b/graphics/ogmtools/Makefile index 305443694a1f..ccab64115715 100644 --- a/graphics/ogmtools/Makefile +++ b/graphics/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 \ 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 \ |