summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-p2p/gnunet/Makefile5
-rw-r--r--net/gnunet/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/net-p2p/gnunet/Makefile b/net-p2p/gnunet/Makefile
index fa97c63..1493af2 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>
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