aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-12-26 05:55:34 +0800
committerantoine <antoine@FreeBSD.org>2015-12-26 05:55:34 +0800
commit868ced274e178408e80cfcbea96f151c9828a5da (patch)
treeae398e782c99742ce7a468f7725ec3a849776aff /Mk
parent67420ef93870eb9c025daf8e256b15e0a6e7894f (diff)
downloadfreebsd-ports-gnome-868ced274e178408e80cfcbea96f151c9828a5da.tar.gz
freebsd-ports-gnome-868ced274e178408e80cfcbea96f151c9828a5da.tar.zst
freebsd-ports-gnome-868ced274e178408e80cfcbea96f151c9828a5da.zip
Do not cache PYTHON_PORTVERSION, it is not invariant between ports
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/functions.sh1
-rw-r--r--Mk/Uses/python.mk1
2 files changed, 0 insertions, 2 deletions
diff --git a/Mk/Scripts/functions.sh b/Mk/Scripts/functions.sh
index c39370dca819..e07919e6e1a4 100644
--- a/Mk/Scripts/functions.sh
+++ b/Mk/Scripts/functions.sh
@@ -184,7 +184,6 @@ export_ports_env() {
OPSYS \
OSREL \
OSVERSION \
- PYTHON_PORTVERSION \
PYTHONBASE \
UID \
_JAVA_OS_LIST_REGEXP \
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index 7dd2d39b8897..70e12360bf83 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -390,7 +390,6 @@ PYTHON_PORTSDIR= ${_PYTHON_RELPORTDIR}${PYTHON_SUFFIX}
.if !defined(PYTHON_PORTVERSION)
PYTHON_PORTVERSION!= ${MAKE} -V PORTVERSION -C ${PYTHON_PORTSDIR}
.endif
-_EXPORTED_VARS+= PYTHON_PORTVERSION
.endif
# Create a 4 integer version string, prefixing 0 to the last token if
# it's a single character. Only use the the first 3 tokens of