summaryrefslogtreecommitdiff
path: root/audio/toolame
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/toolame
parento Enable build for KDE either 2 or 3 (diff)
USE_REINPLACE
Notes
Notes: svn path=/head/; revision=62386
Diffstat (limited to 'audio/toolame')
-rw-r--r--audio/toolame/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/toolame/Makefile b/audio/toolame/Makefile
index ea4e2ea51f0c..36ef768bea4d 100644
--- a/audio/toolame/Makefile
+++ b/audio/toolame/Makefile
@@ -16,6 +16,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= lioux@FreeBSD.org
USE_GMAKE= yes
+USE_REINPLACE= yes
ALL_TARGET= ${PORTNAME}
DOC_FILES= CHANGES COPYING FUTURE GPL HISTORY README README.VBR
@@ -35,14 +36,14 @@ pre-everything::
post-patch:
.ifndef(WITH_OPTIMIZED_CFLAGS)
- @${PERL} -pi -e 's|\$$\(TWEAKS\)||' \
+ @${REINPLACE_CMD} -E -e 's|\$$\(TWEAKS\)||' \
${WRKSRC}/Makefile
.endif
.ifndef(WITH_PROFILED)
- @${PERL} -pi -e 's|\$$\(PG\)||' \
+ @${REINPLACE_CMD} -E -e 's|\$$\(PG\)||' \
${WRKSRC}/Makefile
.endif
- @${PERL} -pi.orig -e \
+ @${REINPLACE_CMD} -E -e \
's@^CC\s.+|\$$\((ARCH|DMALLOCLIB|DMAL|OPTIM|WARNING)\)@@g' \
${WRKSRC}/Makefile