Date: Mon, 4 Dec 2017 11:07:07 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455504 - head/Mk/Uses Message-ID: <201712041107.vB4B78gv026345@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Mon Dec 4 11:07:07 2017 New Revision: 455504 URL: https://svnweb.freebsd.org/changeset/ports/455504 Log: Correctly fix the Python 3 being the default but in fact not problem. Sponsored by: Absolight Modified: head/Mk/Uses/python.mk Modified: head/Mk/Uses/python.mk ============================================================================== --- head/Mk/Uses/python.mk Mon Dec 4 11:07:04 2017 (r455503) +++ head/Mk/Uses/python.mk Mon Dec 4 11:07:07 2017 (r455504) @@ -428,10 +428,10 @@ _ALL_PYTHON_FLAVORS= ${_PYTHON_VERSIONS:S/.//:S/^/py/} . if defined(BUILD_ALL_PYTHON_FLAVORS) || defined(_PYTHON_FEATURE_ALLFLAVORS) FLAVORS= ${_ALL_PYTHON_FLAVORS} . else -. for _v in ${PYTHON3_DEFAULT} ${PYTHON2_DEFAULT} ${PYTHON_DEFAULT} +. for _v in ${PYTHON_DEFAULT} ${PYTHON2_DEFAULT} ${PYTHON3_DEFAULT} _f= py${_v:S/.//} -. if ${_ALL_PYTHON_FLAVORS:M${_f}} -FLAVORS:= ${_f} ${FLAVORS:N${_f}} +. if ${_ALL_PYTHON_FLAVORS:M${_f}} && !${FLAVORS:M${_f}} +FLAVORS:= ${FLAVORS} ${_f} . endif . endfor . endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712041107.vB4B78gv026345>