aboutsummaryrefslogtreecommitdiff
path: root/audio/liba52
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-07-03 17:33:24 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-07-03 17:33:24 +0000
commit3eae406cebbf2ed89cefe245cd0b2557186f84b6 (patch)
treebf38e47d08002d418fa06bd0870ec498385f57da /audio/liba52
parent52670a55cfa49e28db81895c1bcce61373cdffaa (diff)
downloadports-3eae406cebbf2ed89cefe245cd0b2557186f84b6.tar.gz
ports-3eae406cebbf2ed89cefe245cd0b2557186f84b6.zip
Notes
Diffstat (limited to 'audio/liba52')
-rw-r--r--audio/liba52/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/liba52/Makefile b/audio/liba52/Makefile
index e08ca119a9c0..245a00ffb9db 100644
--- a/audio/liba52/Makefile
+++ b/audio/liba52/Makefile
@@ -15,6 +15,7 @@ DISTNAME= a52dec-${PORTVERSION:S/.b/b/}
MAINTAINER= lioux@FreeBSD.org
USE_GMAKE= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-oss --enable-shared
USE_LIBTOOL= yes
@@ -48,11 +49,11 @@ pre-everything::
post-patch:
.ifndef(WITH_OPTIMIZED_CFLAGS)
- @${PERL} -pi.orig -e 's!-O3!${CFLAGS}!;s!-mcpu=[^"]+"!"!' \
+ @${REINPLACE_CMD} -E -e 's!-O3!${CFLAGS}!' -e 's!-mcpu=[^"]+"!"!' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.endif
.ifndef(WITHOUT_DJBFFT)
- @${PERL} -pi -e 's|(fftc4.h)|djbfft/\1|' ${WRKSRC}/liba52/imdct.c
+ @${REINPLACE_CMD} -E -e 's|(fftc4.h)|djbfft/\1|' ${WRKSRC}/liba52/imdct.c
.endif
post-configure: