aboutsummaryrefslogtreecommitdiff
path: root/www/cgichk
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 03:17:29 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 03:17:29 +0000
commitb8a64d94ec2c611f91740140ab3d7d46cbd3a203 (patch)
tree5efc52c313ebe1d542732f5d8ef5765d631f0c11 /www/cgichk
parent79c96ad377b50e85d0230d5870063c73a049927c (diff)
downloadports-b8a64d94ec2c611f91740140ab3d7d46cbd3a203.tar.gz
ports-b8a64d94ec2c611f91740140ab3d7d46cbd3a203.zip
Notes
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 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