]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Previous versions of bsd.own.mk included bsd.compiler.mk
authorimp <imp@FreeBSD.org>
Tue, 6 Oct 2015 04:18:48 +0000 (04:18 +0000)
committerimp <imp@FreeBSD.org>
Tue, 6 Oct 2015 04:18:48 +0000 (04:18 +0000)
only when _WITHOUT_SRCCONF wasn't defined. Restore this
behavior because bsd.ports.mk depends on this in subtle
ways. The compat include of bsd.compiler.mk should
be removed in 12 anyway.

PR: 203540

share/mk/bsd.own.mk

index a0ced5357cb9b5791607b32433b2933df15fb463..2f20da8620bee80d48039b99490f11186b2e9526 100644 (file)
@@ -246,7 +246,10 @@ XZ_CMD?=   xz
 # overriden by Makefiles, but the user may choose to set this in src.conf(5).
 TESTSBASE?= /usr/tests
 
-# Compat for the moment
+# Compat for the moment -- old bsd.own.mk only included this when _WITHOUT_SRCCONF
+# wasn't defined. bsd.ports.mk and friends depend on this behavior. Remove in 12.
+.if !defined(_WITHOUT_SRCCONF)
 .include <bsd.compiler.mk>
+.endif # !_WITHOUT_SRCCONF
 
 .endif # !target(__<bsd.own.mk>__)