Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2015 04:18:49 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288911 - head/share/mk
Message-ID:  <201510060418.t964Innu071170@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>__)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510060418.t964Innu071170>