summaryrefslogtreecommitdiff
path: root/audio/spiralloops
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-10-04 14:50:25 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-10-04 14:50:25 +0000
commit337990e0b30d11ddeb13c89beb02390c7dd2f95f (patch)
tree260ced6edd382a466ed962b4205a208060b8a054 /audio/spiralloops
parentAdd whois 4.6.7, marco d'Itri whois client. (diff)
Avoid Perl.
PR: 47651 Submitted by: Simon Schubert of ath.cx Concatenate the two regexes in post-patch.
Notes
Notes: svn path=/head/; revision=90250
Diffstat (limited to 'audio/spiralloops')
-rw-r--r--audio/spiralloops/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/audio/spiralloops/Makefile b/audio/spiralloops/Makefile
index 7575ee103b36..f4f6b71ca848 100644
--- a/audio/spiralloops/Makefile
+++ b/audio/spiralloops/Makefile
@@ -32,12 +32,17 @@ BROKEN= "Does not compile (bad C++ code)"
.endif
post-patch:
- ${PERL} -pi -e "s:-ldl::g; s:^CFLAGS:XCFLAGS:g; s:^CXXFLAGS:XCXXFLAGS:g; s:usr/X11R6:${PREFIX}:g" ${WRKSRC}/Makefile.in
- ${PERL} -pi -e 's|-O3|${PTHREAD_CFLAGS}|g ; \
- s|CFLAGS =|CFLAGS +=|g ; \
- s|CXXFLAGS=|CXXFLAGS+=|g ; \
- s|-lm|${PTHREAD_LIBS} -lm|g ; \
- s|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/Makefile.in
+ ${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.orig
+ ${SED} -E "s:-ldl::g; \
+ s:^CFLAGS:XCFLAGS:g; \
+ s:^CXXFLAGS:XCXXFLAGS:g; \
+ s:usr/X11R6:${PREFIX}:g; \
+ s:-O3:${PTHREAD_CFLAGS}:g; \
+ s:CFLAGS =:CFLAGS +=:g; \
+ s:CXXFLAGS=:CXXFLAGS+=:g; \
+ s:-lm:${PTHREAD_LIBS} -lm:g; \
+ s:/usr/X11R6:${X11BASE}:g" \
+ < ${WRKSRC}/Makefile.in.orig > ${WRKSRC}/Makefile.in
pre-install:
${ECHO_CMD} bin/SpiralLoops > ${PLIST}