Index: head/devel/bmake/files/patch-var.c =================================================================== --- head/devel/bmake/files/patch-var.c (revision 409652) +++ head/devel/bmake/files/patch-var.c (nonexistent) @@ -1,87 +0,0 @@ ------------------------------------------------------------------------- -r250164 | sjg | 2013-05-02 02:58:39 +0300 (Thu, 02 May 2013) | 8 lines - -Local hack to allow smooth transition for ports. -bsd.port.mk can set .MAKE.FreeBSD_UL=yes -to cause :L and :U to have their old behavior. -This should be reverted when 8.3 is EOL. - -PR: 173299 -Reviewed by: obrien - ---- var.c.orig 2013-03-04 03:01:57.000000000 +0200 -+++ var.c 2013-05-04 10:28:21.832274582 +0300 -@@ -140,6 +140,17 @@ __RCSID("$NetBSD: var.c,v 1.173 2013/02/ - #include "job.h" - - /* -+ * XXX transition hack for FreeBSD ports. -+ * bsd.port.mk can set .MAKE.FreeBSD_UL=yes -+ * to cause us to treat :[LU] as aliases for :t[lu] -+ * To be reverted when ports converts to :t[lu] (when 8.3 is EOL) -+ */ -+#define MAKE_FREEBSD_UL ".MAKE.FreeBSD_UL" -+#ifdef MAKE_FREEBSD_UL -+static int FreeBSD_UL = FALSE; -+#endif -+ -+/* - * This lets us tell if we have replaced the original environ - * (which we cannot free). - */ -@@ -965,6 +976,11 @@ Var_Set(const char *name, const char *va - setenv(MAKE_LEVEL_SAFE, tmp, 1); - #endif - } -+#ifdef MAKE_FREEBSD_UL -+ if (strcmp(MAKE_FREEBSD_UL, name) == 0) { -+ FreeBSD_UL = getBoolean(MAKE_FREEBSD_UL, FALSE); -+ } -+#endif - - - out: -@@ -2660,8 +2676,24 @@ ApplyModifiers(char *nstr, const char *t - free(loop.str); - break; - } -- case 'D': - case 'U': -+#ifdef MAKE_FREEBSD_UL -+ if (FreeBSD_UL) { -+ int nc = tstr[1]; -+ -+ /* we have to be careful, since :U is used internally */ -+ if (nc == ':' || nc == endc) { -+ char *dp = bmake_strdup(nstr); -+ for (newStr = dp; *dp; dp++) -+ *dp = toupper((unsigned char)*dp); -+ cp = tstr + 1; -+ termc = *cp; -+ break; /* yes inside the conditional */ -+ } -+ /* FALLTHROUGH */ -+ } -+#endif -+ case 'D': - { - Buffer buf; /* Buffer for patterns */ - int wantit; /* want data in buffer */ -@@ -2721,6 +2753,17 @@ ApplyModifiers(char *nstr, const char *t - break; - } - case 'L': -+#ifdef MAKE_FREEBSD_UL -+ if (FreeBSD_UL) { -+ char *dp = bmake_strdup(nstr); -+ for (newStr = dp; *dp; dp++) -+ *dp = tolower((unsigned char)*dp); -+ cp = tstr + 1; -+ termc = *cp; -+ break; -+ } -+ /* FALLTHROUGH */ -+#endif - { - if ((v->flags & VAR_JUNK) != 0) - v->flags |= VAR_KEEP; Property changes on: head/devel/bmake/files/patch-var.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/bmake/Makefile =================================================================== --- head/devel/bmake/Makefile (revision 409652) +++ head/devel/bmake/Makefile (revision 409653) @@ -1,46 +1,46 @@ # Created by: Mikolaj Golub # $FreeBSD$ PORTNAME= bmake -PORTVERSION= 20151022 +PORTVERSION= 20160220 CATEGORIES= devel MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg/ \ http://www.gtlib.cc.gatech.edu/pub/NetBSD/misc/sjg/ \ ftp://ftp.uk.netbsd.org/pub/NetBSD/misc/sjg/ \ ftp://ftp.de.netbsd.org/pub/NetBSD/misc/sjg/ -DISTFILES= bmake-${PORTVERSION}.tar.gz mk-${PORTVERSION}.tar.gz +DISTFILES= bmake-${PORTVERSION}.tar.gz mk-20151111.tar.gz MAINTAINER= trociny@FreeBSD.org COMMENT= Portable version of NetBSD 'make' utility LICENSE= BSD3CLAUSE PORTSCOUT= skipv:200910007 WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: .SILENT ${REINPLACE_CMD} 's/^\.Nx/NetBSD/' ${WRKDIR}/bmake/bmake.1 do-build: ${SETENV} ${MAKE_ENV} ${SH} ${WRKDIR}/bmake/boot-strap \ --with-default-sys-path='.../share/mk:${PREFIX}/share/mk' \ -m ${WRKDIR}/mk objdir=${WRKDIR}/obj prefix=${PREFIX} do-install: ${INSTALL_PROGRAM} ${WRKDIR}/obj/bmake ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKDIR}/bmake/bmake.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${SH} ${WRKDIR}/mk/install-mk ${STAGEDIR}${PREFIX}/share/mk cd ${STAGEDIR}${PREFIX} ; \ ${FIND} share/mk -type f -o -type l \ | ${SORT} \ >${WRKDIR}/PLIST.share-mk ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script ${ECHO_CMD} "/Insert PLIST.share-mk" >> ${WRKDIR}/ex.script ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script ${ECHO_CMD} "r ${WRKDIR}/PLIST.share-mk" >> ${WRKDIR}/ex.script ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-share-mk cd ${WRKDIR} ; ex < ex.script .include Index: head/devel/bmake/distinfo =================================================================== --- head/devel/bmake/distinfo (revision 409652) +++ head/devel/bmake/distinfo (revision 409653) @@ -1,4 +1,4 @@ -SHA256 (bmake-20151022.tar.gz) = 9183a78ea10303141158aa99f62493823e5ee3598e512cbc6d35c98e4031b366 -SIZE (bmake-20151022.tar.gz) = 534269 -SHA256 (mk-20151022.tar.gz) = 2cb3654b3fe582d9254c5227608427209b9aaf360fd23654b3f4cae58e3fdce8 -SIZE (mk-20151022.tar.gz) = 87745 +SHA256 (bmake-20160220.tar.gz) = df874ff0976a161d2b94476299cae4d13f69ad2d238c10582378e41dcfd5ccdd +SIZE (bmake-20160220.tar.gz) = 537825 +SHA256 (mk-20151111.tar.gz) = beebba89da0ba068c904599d3358e6f08c35418b13300fac787c11774a525bc1 +SIZE (mk-20151111.tar.gz) = 88106