1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

Export HAVE_COMPAT_IA32_KERN to sub-makes and ensure it is not exported if empty.

With hat:	portmgr
This commit is contained in:
Bryan Drewery 2015-10-12 22:28:15 +00:00
parent 1c65a7751e
commit c46779db54
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399160

View File

@ -1675,6 +1675,7 @@ HAVE_COMPAT_IA32_KERN!= if ${SYSCTL} -n compat.ia32.maxvmem >/dev/null 2>&1; the
.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