summaryrefslogtreecommitdiff
path: root/net-p2p/jigdo/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-12-14 20:20:02 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-12-14 20:20:02 +0000
commit96913c7e8be97493f4880e220da67d0879bc722c (patch)
tree9936f48fe988eeed869d8b6ac5f03897dfb11e66 /net-p2p/jigdo/Makefile
parentFix pkg-plist. (diff)
This diff will enable the jigdo port to compile on a FreeBSD system, which
is newer than 500041. (getopt change) There is a new file, extra-glibc-getopt.h in the diff. PR: 46212 Submitted by: bra@fsn.hu
Notes
Notes: svn path=/head/; revision=71634
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>