Date: Mon, 11 Dec 2017 12:41:56 +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: r456026 - head/Mk/Uses Message-ID: <201712111241.vBBCfuxV035671@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Mon Dec 11 12:41:56 2017 New Revision: 456026 URL: https://svnweb.freebsd.org/changeset/ports/456026 Log: Make USE_PYTHON=concurrent flavors friendly. Before, it would only create the default symlink if the Python version was the default Python version. Change that to if the Python flavor is the default flavor. PR: 224242 Sponsored by: Absolight Modified: head/Mk/Uses/python.mk Modified: head/Mk/Uses/python.mk ============================================================================== --- head/Mk/Uses/python.mk Mon Dec 11 12:19:43 2017 (r456025) +++ head/Mk/Uses/python.mk Mon Dec 11 12:41:56 2017 (r456026) @@ -567,7 +567,9 @@ RUN_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FL .if defined(_PYTHON_FEATURE_CONCURRENT) _USES_POST+= uniquefiles:dirs -.if ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} +.if defined(_PYTHON_FEATURE_FLAVORS) && ${FLAVOR} == ${FLAVORS:[1]} +UNIQUE_DEFAULT_LINKS= yes +.elif !defined(_PYTHON_FEATURE_FLAVORS) && ${PYTHON_VERSION} == ${PYTHON_DEFAULT_VERSION} UNIQUE_DEFAULT_LINKS= yes .else UNIQUE_DEFAULT_LINKS= no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712111241.vBBCfuxV035671>