svn commit: r288911 - head/share/mk

Warner Losh imp at FreeBSD.org
Tue Oct 6 04:18:49 UTC 2015


Author: imp
Date: Tue Oct  6 04:18:48 2015
New Revision: 288911
URL: https://svnweb.freebsd.org/changeset/base/288911

Log:
  Previous versions of bsd.own.mk included bsd.compiler.mk
  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

Modified:
  head/share/mk/bsd.own.mk

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk	Tue Oct  6 03:41:11 2015	(r288910)
+++ head/share/mk/bsd.own.mk	Tue Oct  6 04:18:48 2015	(r288911)
@@ -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>__)


More information about the svn-src-all mailing list