diff options
author | trevor <trevor@FreeBSD.org> | 2003-09-29 20:26:23 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2003-09-29 20:26:23 +0800 |
commit | e2746c17c5248c5527c1b098b9997e29bc5c0e4f (patch) | |
tree | a562be0653be6a069ee7ce5f7b6bc6ec8ca7236d /audio/pd/Makefile | |
parent | 9241197dcb9b8771d6ea2d813306a1ce4459de46 (diff) | |
download | freebsd-ports-gnome-e2746c17c5248c5527c1b098b9997e29bc5c0e4f.tar.gz freebsd-ports-gnome-e2746c17c5248c5527c1b098b9997e29bc5c0e4f.tar.zst freebsd-ports-gnome-e2746c17c5248c5527c1b098b9997e29bc5c0e4f.zip |
Use sed, rather than perl, for patching, in case there is a user
who does not have perl.
Diffstat (limited to 'audio/pd/Makefile')
-rw-r--r-- | audio/pd/Makefile | 7 |
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} |