Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2017 02:09:37 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325627 - head
Message-ID:  <201711100209.vAA29b1h015411@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Nov 10 02:09:37 2017
New Revision: 325627
URL: https://svnweb.freebsd.org/changeset/base/325627

Log:
  Deal with src.conf for top-level MAKEOBJDIRPREFIX guard.
  
  - Don't discard SRCCONF value since it may incorrectly have MAKEOBJDIRPREFIX
    in it.
  - Add note about src.conf not being a suitable place for MAKEOBJDIRPREFIX.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/Makefile

Modified: head/Makefile
==============================================================================
--- head/Makefile	Fri Nov 10 02:09:33 2017	(r325626)
+++ head/Makefile	Fri Nov 10 02:09:37 2017	(r325627)
@@ -191,10 +191,11 @@ PATH=	/sbin:/bin:/usr/sbin:/usr/bin
 MAKEOBJDIRPREFIX?=	/usr/obj
 _MAKEOBJDIRPREFIX!= /usr/bin/env -i PATH=${PATH} ${MAKE} MK_AUTO_OBJ=no \
     ${.MAKEFLAGS:MMAKEOBJDIRPREFIX=*} __MAKE_CONF=${__MAKE_CONF} \
+    SRCCONF=${SRCCONF} \
     -f /dev/null -V MAKEOBJDIRPREFIX dummy
 .if !empty(_MAKEOBJDIRPREFIX)
 .error MAKEOBJDIRPREFIX can only be set in environment, not as a global\
-	(in make.conf(5)) or command-line variable.
+	(in make.conf(5) or src.conf(5)) or command-line variable.
 .endif
 
 # We often need to use the tree's version of make to build it.



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