diff options
author | trevor <trevor@FreeBSD.org> | 2003-10-04 14:50:25 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2003-10-04 14:50:25 +0000 |
commit | 0b96bdfadbfcf8b374b9ef0e255c412cee9c59a3 (patch) | |
tree | 74063285947907755658e89a83ecde06a1d33747 /audio/spiralloops | |
parent | 1292bdc40e08627767085ed1f6b3e8ec1c974752 (diff) | |
download | FreeBSD-ports-0b96bdfadbfcf8b374b9ef0e255c412cee9c59a3.zip FreeBSD-ports-0b96bdfadbfcf8b374b9ef0e255c412cee9c59a3.tar.gz |
Avoid Perl.
PR: 47651
Submitted by: Simon Schubert of ath.cx
Concatenate the two regexes in post-patch.
Diffstat (limited to 'audio/spiralloops')
-rw-r--r-- | audio/spiralloops/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/audio/spiralloops/Makefile b/audio/spiralloops/Makefile index 7575ee1..f4f6b71 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} |