diff options
author | Mark Pulford <markp@FreeBSD.org> | 2003-02-04 14:05:41 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2003-02-04 14:05:41 +0000 |
commit | af95f54766c270a9dc3575b58be2f0b3bb10c3b5 (patch) | |
tree | 870b800fdd170b5aded02dace497acbee4fdb0f9 /www/cgichk/Makefile | |
parent | 9db2476b1357f3dff53eca98d8249d9b673e9643 (diff) | |
download | ports-af95f54766c270a9dc3575b58be2f0b3bb10c3b5.tar.gz ports-af95f54766c270a9dc3575b58be2f0b3bb10c3b5.zip |
Notes
Diffstat (limited to 'www/cgichk/Makefile')
-rw-r--r-- | www/cgichk/Makefile | 7 |
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: |