Avoid appending FLAVORS to PORTS_FEATURES multiple times

PR:		224158
Reported by:	yuri@
This commit is contained in:
Baptiste Daroussin 2019-09-05 13:45:38 +00:00
parent d05eb95381
commit 4b13af055f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511188

View File

@ -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} \