From bce29209000beec9504053798e91a160ff85909f Mon Sep 17 00:00:00 2001 From: trevor Date: Sat, 4 Oct 2003 14:58:59 +0000 Subject: Avoid Perl. PR: 47651 Submitted by: Simon Schubert of ath.cx --- audio/spiralsynthbaby/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'audio/spiralsynthbaby/Makefile') diff --git a/audio/spiralsynthbaby/Makefile b/audio/spiralsynthbaby/Makefile index cf3eadb1c953..b548d8a70a61 100644 --- a/audio/spiralsynthbaby/Makefile +++ b/audio/spiralsynthbaby/Makefile @@ -29,11 +29,13 @@ WRKSRC= ${WRKDIR}/${DISTNAME} DOC_FILES= CHANGES COPYING README post-patch: - ${PERL} -pi -e 's|-O3|${PTHREAD_CFLAGS}|g ; \ + ${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.orig + ${SED} -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 + s|/usr/X11R6|${X11BASE}|g' > ${WRKSRC}/Makefile.in \ + < ${WRKSRC}/Makefile.in.orig pre-install: ${ECHO_CMD} lib/SpiralSynthBaby.so > ${PLIST} -- cgit