diff options
author | perky <perky@FreeBSD.org> | 2006-06-23 11:35:14 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2006-06-23 11:35:14 +0800 |
commit | 35eea520e69d8eda995305dd9532a06eb3ec7a3d (patch) | |
tree | a7734f7eefb4f45fc577f0eed18b41997d1ff092 | |
parent | 3b479e1d0d581958ac397677dce4a75736bd74a8 (diff) | |
download | freebsd-ports-gnome-35eea520e69d8eda995305dd9532a06eb3ec7a3d.tar.gz freebsd-ports-gnome-35eea520e69d8eda995305dd9532a06eb3ec7a3d.tar.zst freebsd-ports-gnome-35eea520e69d8eda995305dd9532a06eb3ec7a3d.zip |
Fix to report a correct version number that we use. (2.5b1 -> 2.5.b1)
-rw-r--r-- | Mk/bsd.python.mk | 2 |
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 |