svn commit: r511188 - head/Mk
Baptiste Daroussin
bapt at FreeBSD.org
Thu Sep 5 13:45:39 UTC 2019
Author: bapt
Date: Thu Sep 5 13:45:38 2019
New Revision: 511188
URL: https://svnweb.freebsd.org/changeset/ports/511188
Log:
Avoid appending FLAVORS to PORTS_FEATURES multiple times
PR: 224158
Reported by: yuri@
Modified:
head/Mk/bsd.port.mk
Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk Thu Sep 5 13:26:15 2019 (r511187)
+++ head/Mk/bsd.port.mk Thu Sep 5 13:45:38 2019 (r511188)
@@ -1039,7 +1039,9 @@ OVERLAYS?=
.if !defined(_FLAVOR)
_FLAVOR:= ${FLAVOR}
.endif
+.if !defined(PORTS_FEATURES) && empty(${PORTS_FEATURES:MFLAVORS})
PORTS_FEATURES+= FLAVORS
+.endif
MINIMAL_PKG_VERSION= 1.6.0
_PORTS_DIRECTORIES+= ${PKG_DBDIR} ${PREFIX} ${WRKDIR} ${EXTRACT_WRKDIR} \
More information about the svn-ports-all
mailing list