aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-02-19 20:44:52 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-02-19 20:44:52 +0000
commit54e86d8d01edced641529bad59c339fed78046b9 (patch)
tree63163e79d5fbca8ca240fef20ac95a3421ae48bb /Mk
parent981fc1140db6daf115f3fb78ef58d132e97345ad (diff)
downloadports-54e86d8d01edced641529bad59c339fed78046b9.tar.gz
ports-54e86d8d01edced641529bad59c339fed78046b9.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/python.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index dda99a339ebe..c4c96c9ddc05 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -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:
#