Date: Mon, 12 Oct 2015 22:28:15 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399160 - head/Mk Message-ID: <201510122228.t9CMSFhY062312@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510122228.t9CMSFhY062312>