aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/jigdo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/jigdo/Makefile')
-rw-r--r--net-p2p/jigdo/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-p2p/jigdo/Makefile b/net-p2p/jigdo/Makefile
index 36bd0698e5a4..48d2f497a34f 100644
--- a/net-p2p/jigdo/Makefile
+++ b/net-p2p/jigdo/Makefile
@@ -38,10 +38,16 @@ pre-fetch:
#post-patch:
# @${REINPLACE_CMD} -e "s/gtk-config/${GTK_CONFIG}/g" ${WRKSRC}/configure
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 500041
+EXTRA_PATCHES= ${FILESDIR}/extra-glibc-getopt.h
+.endif
+
post-install:
@${STRIP_CMD} ${PREFIX}/bin/jigdo-file
post-clean:
@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>