summaryrefslogtreecommitdiffstats
path: root/net/gnunet
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-07-22 22:45:51 +0000
committerpat <pat@FreeBSD.org>2002-07-22 22:45:51 +0000
commit634f969f1f4ba262e69a18f3aebd5c77d1a62ddc (patch)
tree813389aa0e9d60376a7d5aa823361855e9658595 /net/gnunet
parent23fc82ca2c940130b53999beb327b1161bc7f831 (diff)
downloadFreeBSD-ports-634f969f1f4ba262e69a18f3aebd5c77d1a62ddc.zip
FreeBSD-ports-634f969f1f4ba262e69a18f3aebd5c77d1a62ddc.tar.gz
Fix build: wrong location of included getopt.h
PR: ports/40902 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'net/gnunet')
-rw-r--r--net/gnunet/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/gnunet/Makefile b/net/gnunet/Makefile
index fa97c63..1493af2 100644
--- a/net/gnunet/Makefile
+++ b/net/gnunet/Makefile
@@ -33,5 +33,10 @@ MAN5= gnunet.conf.5
post-patch:
@${REINPLACE_CMD} 's|-pthread [\$$]CFLAGS|\$$CFLAGS|g ; \
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+.for file in src/include/server/startup.h src/server/startup.c \
+ src/textui/gnunetdownload.c src/textui/insertmain.c \
+ src/textui/insertmulti.c src/util/getopt.c src/util/getopt1.c
+ @${REINPLACE_CMD} -e 's|"getopt.h"|"util/getopt.h"|g' ${WRKSRC}/${file}
+.endfor
.include <bsd.port.mk>
OpenPOWER on IntegriCloud