diff options
author | edwin <edwin@FreeBSD.org> | 2002-11-04 11:17:29 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2002-11-04 11:17:29 +0800 |
commit | 690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd (patch) | |
tree | 2cdd4a2b9a4f727046ab669be268f18bab7f2d42 /www | |
parent | 266a6d44cdb9993738dffb2c3b706a6ca59eeb36 (diff) | |
download | freebsd-ports-gnome-690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd.tar.gz freebsd-ports-gnome-690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd.tar.zst freebsd-ports-gnome-690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd.zip |
PERL -> REINPLACE
and USE_PERL5 in some places
Noticed by: bento
Diffstat (limited to 'www')
-rw-r--r-- | www/cgichk/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/cgichk/Makefile b/www/cgichk/Makefile index 906dd5b8dc01..c12669ecda56 100644 --- a/www/cgichk/Makefile +++ b/www/cgichk/Makefile @@ -16,10 +16,12 @@ MAINTAINER= markp@FreeBSD.org WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= cgichk +USE_REINPLACE= yes pre-patch: - ${PERL} -pi -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile - ${PERL} -pi -e "s@/etc/@${PREFIX}/etc/@g; s/#include <getopt.h>//g; \ + ${REINPLACE_CMD} -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e \ + "s@/etc/@${PREFIX}/etc/@g; s/#include <getopt.h>//g; \ s@^(?=.+sys/socket.h)@#include <sys/types.h>\n@g;" \ ${WRKSRC}/cgichk.h |