diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-10-13 06:28:15 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-10-13 06:28:15 +0800 |
commit | a4b2da8ce7687705d067ff38db44b077a4e5a862 (patch) | |
tree | b6cadc188a75e7d1631a43e73460cbfd0eaff910 /Mk | |
parent | ff84d26c742f1bec280334c115c8e3f3c30346a9 (diff) | |
download | freebsd-ports-gnome-a4b2da8ce7687705d067ff38db44b077a4e5a862.tar.gz freebsd-ports-gnome-a4b2da8ce7687705d067ff38db44b077a4e5a862.tar.zst freebsd-ports-gnome-a4b2da8ce7687705d067ff38db44b077a4e5a862.zip |
Export HAVE_COMPAT_IA32_KERN to sub-makes and ensure it is not exported if empty.
With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index e37865b3b0ac..9a57be8b4041 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -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 |