FreeBSD Bugzilla – Attachment 210527 Details for
Bug 243185
Remove the legacy way of passing Python version, before flavors were a thing.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1
python-depends-args.diff (text/plain), 1.20 KB, created by
Mathieu Arnold
on 2020-01-08 12:26:04 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Mathieu Arnold
Created:
2020-01-08 12:26:04 UTC
Size:
1.20 KB
patch
obsolete
>base commit: r522257 >diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk >index 0d10c42bbb87..9649e0386908 100644 >--- a/Mk/Uses/python.mk >+++ b/Mk/Uses/python.mk >@@ -452,24 +452,20 @@ PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} > # - If using a version restriction (USES=python:3.5+), from the first > # acceptable default Python version. > # - From PYTHON_DEFAULT > PY_FLAVOR= py${_PYTHON_VERSION:S/.//} > > # Pass PYTHON_VERSION down the dependency chain. This ensures that > # port A -> B -> C all will use the same python version and do not > # try to find a different one, if the passed version fits into > # the supported version range. > PYTHON_VERSION?= python${_PYTHON_VERSION} >-.if !defined(PYTHON_NO_DEPENDS) && \ >- ${PYTHON_VERSION} != python${PYTHON_DEFAULT} >-DEPENDS_ARGS+= PYTHON_VERSION=${PYTHON_VERSION} >-.endif > > # NOTE: > # > # PYTHON_VERSION will hold whatever is passed down the dependency chain. > # If a user runs `make PYTHON_VERSION=python3.5, PYTHON_VERSION will be > # set to 'python3.5'. A port however may require a different version, > # which is stored (above) in _PYTHON_VERSION. > # Every python bit below hence should use python${_PYTHON_VERSION}, since > # this is the value, the _port_ requires > #
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243185
:
210527
|
210532
|
210535