aboutsummaryrefslogtreecommitdiffstats
path: root/www/cgichk/Makefile
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2003-02-04 22:05:41 +0800
committermarkp <markp@FreeBSD.org>2003-02-04 22:05:41 +0800
commit6e94bf3d7a28e032ff300ecd51ac8a957e654f6f (patch)
treed45e6d4a10be9cead77eeb4c997ce384f1e175dc /www/cgichk/Makefile
parent559ce1ee1e50fe2079ef2cb09eb89d8957322de3 (diff)
downloadfreebsd-ports-gnome-6e94bf3d7a28e032ff300ecd51ac8a957e654f6f.tar.gz
freebsd-ports-gnome-6e94bf3d7a28e032ff300ecd51ac8a957e654f6f.tar.zst
freebsd-ports-gnome-6e94bf3d7a28e032ff300ecd51ac8a957e654f6f.zip
Fix build after REINPLACE change.
Change MAINTAINER to ports.
Diffstat (limited to 'www/cgichk/Makefile')
-rw-r--r--www/cgichk/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/www/cgichk/Makefile b/www/cgichk/Makefile
index c12669ecda56..ead1bb01ea93 100644
--- a/www/cgichk/Makefile
+++ b/www/cgichk/Makefile
@@ -12,17 +12,16 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}
-MAINTAINER= markp@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= cgichk
USE_REINPLACE= yes
-pre-patch:
+post-patch:
${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;" \
+ "s@/etc/@${PREFIX}/etc/@g; s/#include <getopt.h>//g;" \
${WRKSRC}/cgichk.h
do-install: