Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2018 20:49:10 +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: r461103 - head/Mk/Uses
Message-ID:  <201802062049.w16KnAS2094274@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Tue Feb  6 20:49:09 2018
New Revision: 461103
URL: https://svnweb.freebsd.org/changeset/ports/461103

Log:
  Remove leading newline to FLAVORS.
  
  Approved by:	portmgr (implicit)

Modified:
  head/Mk/Uses/python.mk

Modified: head/Mk/Uses/python.mk
==============================================================================
--- head/Mk/Uses/python.mk	Tue Feb  6 20:47:29 2018	(r461102)
+++ head/Mk/Uses/python.mk	Tue Feb  6 20:49:09 2018	(r461103)
@@ -402,7 +402,11 @@ FLAVORS=	${_ALL_PYTHON_FLAVORS}
 .    for _v in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT}
 _f=	py${_v:S/.//}
 .      if ${_ALL_PYTHON_FLAVORS:M${_f}} && !${FLAVORS:M${_f}}
+.if !empty(FLAVORS)
 FLAVORS:=	${FLAVORS} ${_f}
+.else
+FLAVORS:=	${_f}
+.endif
 .      endif
 .    endfor
 .  endif



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