svn commit: r461103 - head/Mk/Uses

Bryan Drewery bdrewery at FreeBSD.org
Tue Feb 6 20:49:11 UTC 2018


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


More information about the svn-ports-head mailing list