mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix build after REINPLACE change.
Change MAINTAINER to ports.
This commit is contained in:
parent
9db2476b13
commit
af95f54766
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74673
2 changed files with 13 additions and 4 deletions
|
@ -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:
|
||||
|
|
10
www/cgichk/files/patch-cgichk.h
Normal file
10
www/cgichk/files/patch-cgichk.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- cgichk.h.orig Wed Feb 5 00:36:57 2003
|
||||
+++ cgichk.h Wed Feb 5 00:37:05 2003
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <netdb.h>
|
Loading…
Add table
Reference in a new issue