summaryrefslogtreecommitdiff
path: root/net-p2p/gnunet
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-07-22 22:45:51 +0000
committerPatrick Li <pat@FreeBSD.org>2002-07-22 22:45:51 +0000
commit63376c59c4f3ffd5b1f6aaf7cf9157ac56e60781 (patch)
tree28b85c1ab50bdc72b2e54247fca1240e84116faa /net-p2p/gnunet
parentUpdate maintainer's email address (diff)
Fix build: wrong location of included getopt.h
PR: ports/40902 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=63408
Diffstat (limited to 'net-p2p/gnunet')
-rw-r--r--net-p2p/gnunet/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net-p2p/gnunet/Makefile b/net-p2p/gnunet/Makefile
index fa97c6313885..1493af21d74c 100644
--- a/net-p2p/gnunet/Makefile
+++ b/net-p2p/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>