Date: Tue, 12 Dec 2017 12:31:11 +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: r456124 - head/Mk/Uses Message-ID: <201712121231.vBCCVBLY044497@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Tue Dec 12 12:31:10 2017 New Revision: 456124 URL: https://svnweb.freebsd.org/changeset/ports/456124 Log: Add a DEV_WARNING about some hypotetical case. Sponsored by: Absolight Modified: head/Mk/Uses/python.mk Modified: head/Mk/Uses/python.mk ============================================================================== --- head/Mk/Uses/python.mk Tue Dec 12 12:16:37 2017 (r456123) +++ head/Mk/Uses/python.mk Tue Dec 12 12:31:10 2017 (r456124) @@ -566,6 +566,9 @@ RUN_DEPENDS+= cython-${PYTHON_VER}:lang/cython@${PY_FL .endif .if defined(_PYTHON_FEATURE_CONCURRENT) +.if !defined(_PYTHON_FEATURE_FLAVORS) && (${_PYTHON_VERSION_MINIMUM:M3*} || ${_PYTHON_VERSION_MAXIMUM:M2*}) +DEV_WARNING+= "USE_PYTHON=concurrent when only one of Python 2 or 3 is supported AND not using flavors does not make any sense" +.endif _USES_POST+= uniquefiles:dirs .if defined(_PYTHON_FEATURE_FLAVORS) && ${FLAVOR} == ${FLAVORS:[1]} UNIQUE_DEFAULT_LINKS= yes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712121231.vBCCVBLY044497>