From 9f5d67839b63329131a463b6880c1fef85e0a005 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Mon, 29 Sep 2003 12:26:23 +0000 Subject: Use sed, rather than perl, for patching, in case there is a user who does not have perl. --- audio/pd/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'audio/pd') 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} -- cgit v1.2.3