svn commit: r458058 - head/Mk
Bryan Drewery
bdrewery at FreeBSD.org
Thu Jan 4 20:06:22 UTC 2018
Author: bdrewery
Date: Thu Jan 4 20:06:21 2018
New Revision: 458058
URL: https://svnweb.freebsd.org/changeset/ports/458058
Log:
Follow-up r458048: Properly trim FLAVOR from .MAKEOVERRIDES.
The code I removed was wrong but it still achieved the proper effect of
removing FLAVOR from .MAKEOVERRIDES. This is still needed and now is
done properly without truncating away all of the other valuable variables.
Pointyhat to: bdrewery
Approved by: portmgr (implicit)
MFH: 2018Q1
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Thu Jan 4 20:02:28 2018 (r458057)
+++ head/Mk/bsd.port.mk Thu Jan 4 20:06:21 2018 (r458058)
@@ -1081,6 +1081,9 @@ _PORTS_DIRECTORIES+= ${PKG_DBDIR} ${PREFIX} ${WRKDIR}
.include "${PORTSDIR}/Mk/bsd.commands.mk"
+# Do not leak flavors to childs make
+.MAKEOVERRIDES:= ${.MAKEOVERRIDES:NFLAVOR}
+
.if !empty(FLAVOR) && !defined(_DID_FLAVORS_HELPERS)
_DID_FLAVORS_HELPERS= yes
_FLAVOR_HELPERS_OVERRIDE= DESCR PLIST PKGNAMEPREFIX PKGNAMESUFFIX
More information about the svn-ports-all
mailing list