[Midnightbsd-cvs] src [9625] stable/0.9/share/mk: disable bmake on this branch for now.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Oct 6 14:08:54 EDT 2017


Revision: 9625
          http://svnweb.midnightbsd.org/src/?rev=9625
Author:   laffer1
Date:     2017-10-06 14:08:53 -0400 (Fri, 06 Oct 2017)
Log Message:
-----------
disable bmake on this branch for now.

Modified Paths:
--------------
    stable/0.9/share/mk/bsd.own.mk
    stable/0.9/share/mk/bsd.subdir.mk

Modified: stable/0.9/share/mk/bsd.own.mk
===================================================================
--- stable/0.9/share/mk/bsd.own.mk	2017-10-06 14:51:15 UTC (rev 9624)
+++ stable/0.9/share/mk/bsd.own.mk	2017-10-06 18:08:53 UTC (rev 9625)
@@ -340,7 +340,6 @@
     BIND_UTILS \
     BINUTILS \
     BLUETOOTH \
-    BMAKE \
     BOOT \
     BSD_CPIO \
     BSNMP \
@@ -443,6 +442,7 @@
     BIND_LIBS \
     BIND_SIGCHASE \
     BIND_XML \
+    BMAKE \
     CLANG_EXTRAS \
     CTF \
     DEBUG_FILES \

Modified: stable/0.9/share/mk/bsd.subdir.mk
===================================================================
--- stable/0.9/share/mk/bsd.subdir.mk	2017-10-06 14:51:15 UTC (rev 9624)
+++ stable/0.9/share/mk/bsd.subdir.mk	2017-10-06 18:08:53 UTC (rev 9625)
@@ -30,11 +30,14 @@
 #	maninstall, manlint, obj, objlink, realinstall, regress, tags
 #
 
+.if !target(__<bsd.subdir.mk>__)
+__<bsd.subdir.mk>__:
+
 .include <bsd.init.mk>
 
 DISTRIBUTION?=	base
 .if !target(distribute)
-distribute:
+distribute: .MAKE
 .for dist in ${DISTRIBUTION}
 	${_+_}cd ${.CURDIR}; \
 	    ${MAKE} install -DNO_SUBDIR DESTDIR=${DISTDIR}/${dist} SHARED=copies
@@ -41,7 +44,7 @@
 .endfor
 .endif
 
-_SUBDIR: .USE
+_SUBDIR: .USE .MAKE
 .if defined(SUBDIR) && !empty(SUBDIR) && !defined(NO_SUBDIR)
 	@${_+_}set -e; for entry in ${SUBDIR}; do \
 		if test -d ${.CURDIR}/$${entry}.${MACHINE_ARCH}; then \
@@ -58,7 +61,7 @@
 	done
 .endif
 
-${SUBDIR}: .PHONY
+${SUBDIR}: .PHONY .MAKE
 	${_+_}@if test -d ${.TARGET}.${MACHINE_ARCH}; then \
 		cd ${.CURDIR}/${.TARGET}.${MACHINE_ARCH}; \
 	else \
@@ -98,7 +101,7 @@
 ${__stage}${__target}: _SUBDIR
 .endif
 .endfor
-${__target}:
+${__target}: .MAKE
 	${_+_}set -e; cd ${.CURDIR}; ${MAKE} build${__target}; ${MAKE} install${__target}
 .endfor
 
@@ -112,3 +115,5 @@
 install: beforeinstall realinstall afterinstall
 .ORDER: beforeinstall realinstall afterinstall
 .endif
+
+.endif



More information about the Midnightbsd-cvs mailing list