From 96913c7e8be97493f4880e220da67d0879bc722c Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 14 Dec 2002 20:20:02 +0000 Subject: 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 --- ftp/jigdo/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ftp/jigdo/Makefile') diff --git a/ftp/jigdo/Makefile b/ftp/jigdo/Makefile index 36bd0698e5a4..48d2f497a34f 100644 --- a/ftp/jigdo/Makefile +++ b/ftp/jigdo/Makefile @@ -38,10 +38,16 @@ pre-fetch: #post-patch: # @${REINPLACE_CMD} -e "s/gtk-config/${GTK_CONFIG}/g" ${WRKSRC}/configure +.include + +.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 +.include -- cgit v1.2.3