diff options
author | tg <tg@FreeBSD.org> | 2001-03-01 20:17:41 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2001-03-01 20:17:41 +0800 |
commit | facc47bf74a02699a46691cac6475e826d86dfbe (patch) | |
tree | f46cd44c19f5f24fdf1b64e46a80ca2e6ba6da5d | |
parent | 7ca1f70754b268d24c811e0aba3171ad7d763436 (diff) | |
download | freebsd-ports-gnome-facc47bf74a02699a46691cac6475e826d86dfbe.tar.gz freebsd-ports-gnome-facc47bf74a02699a46691cac6475e826d86dfbe.tar.zst freebsd-ports-gnome-facc47bf74a02699a46691cac6475e826d86dfbe.zip |
Add back some definitions for Python-1.6. Some people obviously still
use it.
-rw-r--r-- | Mk/bsd.python.mk | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk index 63f0a110e0c9..28eac650978e 100644 --- a/Mk/bsd.python.mk +++ b/Mk/bsd.python.mk @@ -90,6 +90,21 @@ PYTHON_REL= 200 PYTHON_SUFFIX= # empty, default version PYTHON_WRKSRC= ${WRKDIR}/Python-2.0 +# Python-1.6 +# ${PYTHON_PORTSDIR} is not set because we don't support building +# Python-1.6 from the ports anymore. People should use the +# latest version in ${PORTSDIR}/lang/python. The definitions here +# are for those who still have 1.6 as their default version. +.elif ${PYTHON_VERSION} == "python1.6" +PYDISTUTILS= ${PYTHON_LIBDIR}/site-packages/distutils/core.py:${PORTSDIR}/misc/py-distutils +PYXML= ${PYTHON_SITELIBDIR}/xml/__init__.py:${PORTSDIR}/textproc/py-xml + +PYTHON_DISTFILE= Python-1.6.tar.gz +PYTHON_PORTSDIR= # empty +PYTHON_REL= 160 +PYTHON_SUFFIX= 16 +PYTHON_WRKSRC= ${WRKDIR}/Python-1.6 + # Python-1.5 .elif ${PYTHON_VERSION} == "python1.5" PYDISTUTILS= ${PYTHON_LIBDIR}/site-packages/distutils/core.py:${PORTSDIR}/misc/py-distutils @@ -104,7 +119,7 @@ PYTHON_WRKSRC= ${WRKDIR}/Python-1.5.2 .else .BEGIN: @${ECHO} "Error: bad value for PYTHON_VERSION: ${PYTHON_VERSION}." - @${ECHO} "Use one of python1.5 or python2.0 (default)." + @${ECHO} "Use one of python1.5, python1.6 or python2.0 (default)." @${FALSE} .endif |