summaryrefslogtreecommitdiffstats
path: root/www/cgichk
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 03:17:29 +0000
committeredwin <edwin@FreeBSD.org>2002-11-04 03:17:29 +0000
commit690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd (patch)
tree2cdd4a2b9a4f727046ab669be268f18bab7f2d42 /www/cgichk
parent266a6d44cdb9993738dffb2c3b706a6ca59eeb36 (diff)
downloadFreeBSD-ports-690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd.zip
FreeBSD-ports-690d5eb77dfe38a8ae1bee0d3c26e53669d15fcd.tar.gz
PERL -> REINPLACE
and USE_PERL5 in some places Noticed by: bento
Diffstat (limited to 'www/cgichk')
-rw-r--r--www/cgichk/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/cgichk/Makefile b/www/cgichk/Makefile
index 906dd5b..c12669e 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
OpenPOWER on IntegriCloud