Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2017 01:21:12 +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: r325077 - head/share/mk
Message-ID:  <201710290121.v9T1LCTc068153@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sun Oct 29 01:21:12 2017
New Revision: 325077
URL: https://svnweb.freebsd.org/changeset/base/325077

Log:
  MAKEOBJDIR should be an absolute path, not any path with a slash.
  
  Using MAKEOBJDIR=foo did not work but MAKEOBJDIR=foo/ did, but
  really it needs to be absolute.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/share/mk/local.meta.sys.mk

Modified: head/share/mk/local.meta.sys.mk
==============================================================================
--- head/share/mk/local.meta.sys.mk	Sun Oct 29 01:21:09 2017	(r325076)
+++ head/share/mk/local.meta.sys.mk	Sun Oct 29 01:21:12 2017	(r325077)
@@ -107,7 +107,7 @@ TARGET_OBJ_SPEC:= ${TARGET_SPEC:S;,;.;g}
 OBJTOP:= ${OBJROOT}${TARGET_OBJ_SPEC}
 
 .if defined(MAKEOBJDIR)
-.if ${MAKEOBJDIR:M*/*} == ""
+.if ${MAKEOBJDIR:M/*} == ""
 .error Cannot use MAKEOBJDIR=${MAKEOBJDIR}${.newline}Unset MAKEOBJDIR to get default:  MAKEOBJDIR='${_default_makeobjdir}'
 .endif
 .endif



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