summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-09-29 12:26:23 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-09-29 12:26:23 +0000
commit9f5d67839b63329131a463b6880c1fef85e0a005 (patch)
treefdc03d226a209d2798b8bc7ddbec7c5d3f150a60 /audio
parentThe malloc.h problem is gone. (diff)
Use sed, rather than perl, for patching, in case there is a user
who does not have perl.
Notes
Notes: svn path=/head/; revision=89795
Diffstat (limited to 'audio')
-rw-r--r--audio/pd/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/audio/pd/Makefile b/audio/pd/Makefile
index c4418fa7f46a..1a4db6b5a30d 100644
--- a/audio/pd/Makefile
+++ b/audio/pd/Makefile
@@ -35,9 +35,10 @@ pre-configure:
${CHMOD} +x ${WRKSRC}/${CONFIGURE_SCRIPT}
post-configure:
- ${PERL} -pi -e \
-"s:^INCLUDE = :INCLUDE = -I${LOCALBASE}/include/tk8.3 -I${LOCALBASE}/include/tcl8.3 -I${X11BASE}/include :g; s:^LIB =:LIB =${PTHREAD_LIBS}:g; s:^CFLAGS =:CFLAGS+=${PTHREAD_CFLAGS}:g" \
- ${WRKSRC}/makefile
+ ${CP} ${WRKSRC}/makefile ${WRKSRC}/makefile.orig
+ ${SED} -e \
+"s:^INCLUDE = :INCLUDE = -I${LOCALBASE}/include/tk8.3 -I${LOCALBASE}/include/tcl8.3 -I${X11BASE}/include :g; s:^LIB =:LIB =${PTHREAD_LIBS}:g; s:^CFLAGS =:CFLAGS+=${PTHREAD_CFLAGS}:g" < ${WRKSRC}/makefile.orig \
+ > ${WRKSRC}/makefile
pre-install:
${RM} -f ${PLIST}