Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2019 13:45:38 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511188 - head/Mk
Message-ID:  <201909051345.x85DjcHb079582@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909051345.x85DjcHb079582>