svn commit: r399160 - head/Mk

Bryan Drewery bdrewery at FreeBSD.org
Mon Oct 12 22:28:16 UTC 2015


Author: bdrewery
Date: Mon Oct 12 22:28:15 2015
New Revision: 399160
URL: https://svnweb.freebsd.org/changeset/ports/399160

Log:
  Export HAVE_COMPAT_IA32_KERN to sub-makes and ensure it is not exported if empty.
  
  With hat:	portmgr

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon Oct 12 22:19:35 2015	(r399159)
+++ head/Mk/bsd.port.mk	Mon Oct 12 22:28:15 2015	(r399160)
@@ -1675,6 +1675,7 @@ HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n 
 .endif
 .endif
 .endif
+_EXPORTED_VARS+=	HAVE_COMPAT_IA32_KERN
 
 .if defined(IA32_BINARY_PORT) && ${ARCH} != "i386"
 .if ${ARCH} == "amd64" || ${ARCH} == "ia64"
@@ -5061,7 +5062,8 @@ ${_t}:
 .if !defined(NOPRECIOUSMAKEVARS)
 # These won't change, so we can pass them through the environment
 .for var in ${_EXPORTED_VARS}
-.if empty(.MAKEFLAGS:M${var}=*)
+.if empty(.MAKEFLAGS:M${var}=*) && !empty(${var})
+.warning exporting ${var}
 .MAKEFLAGS:	${var}=${${var}:Q}
 .endif
 .endfor


More information about the svn-ports-all mailing list