For PYTHON_NO_DEPENDS don't pass PYTHON_VERSION to dependencies.
The PYTHON_NO_DEPENDS only really makes sense in meta ports, where passing the PYTHON_VERSION doesn't make sense. The ports listed will pick up USES+=python and the default version as needed. This fixes depending on both lang/python2 and lang/python3 in a meta package.
This commit is contained in:
parent
981fc1140d
commit
54e86d8d01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=409204
@ -372,7 +372,9 @@ IGNORE= needs an unsupported version of Python
|
||||
# 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)
|
||||
DEPENDS_ARGS+= PYTHON_VERSION=${PYTHON_VERSION}
|
||||
.endif
|
||||
|
||||
# NOTE:
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user