aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.python.mk
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2006-06-23 03:35:14 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2006-06-23 03:35:14 +0000
commit635ffb248fad68f1edd7adc8b6efe81305f60302 (patch)
tree39702fdc8cd5fbff26355fc3e76dc0330890566b /Mk/bsd.python.mk
parent450fd714b82931d7d5ed6add4a695562bff0e165 (diff)
downloadports-635ffb248fad68f1edd7adc8b6efe81305f60302.tar.gz
ports-635ffb248fad68f1edd7adc8b6efe81305f60302.zip
Notes
Diffstat (limited to 'Mk/bsd.python.mk')
-rw-r--r--Mk/bsd.python.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk
index 389db744a231..f1a0f16ec072 100644
--- a/Mk/bsd.python.mk
+++ b/Mk/bsd.python.mk
@@ -288,7 +288,7 @@ PYTHONBASE!= (${PYTHON_CMD} -c 'import sys; print sys.prefix' \
2> /dev/null || ${ECHO_CMD} ${LOCALBASE}) | ${TAIL} -1
DEPENDS_ARGS+= PYTHON_VERSION=${PYTHON_VERSION}
_PYTHON_PORTVERSION!= (${PYTHON_CMD} -c 'import string, sys; \
- print string.split(sys.version)[0]' 2> /dev/null || ${ECHO_CMD} ${_PYTHON_PORTBRANCH}) | ${TAIL} -1
+ print string.split(sys.version)[0].replace("b",".b")' 2> /dev/null) | ${TAIL} -1
.if !defined(PYTHON_NO_DEPENDS) && !empty(_PYTHON_PORTVERSION)
PYTHON_PORTVERSION= ${_PYTHON_PORTVERSION}
.endif