summaryrefslogtreecommitdiffstats
path: root/Mk/bsd.python.mk
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2001-03-01 12:17:41 +0000
committertg <tg@FreeBSD.org>2001-03-01 12:17:41 +0000
commitfacc47bf74a02699a46691cac6475e826d86dfbe (patch)
treef46cd44c19f5f24fdf1b64e46a80ca2e6ba6da5d /Mk/bsd.python.mk
parent7ca1f70754b268d24c811e0aba3171ad7d763436 (diff)
downloadFreeBSD-ports-facc47bf74a02699a46691cac6475e826d86dfbe.zip
FreeBSD-ports-facc47bf74a02699a46691cac6475e826d86dfbe.tar.gz
Add back some definitions for Python-1.6. Some people obviously still
use it.
Diffstat (limited to 'Mk/bsd.python.mk')
-rw-r--r--Mk/bsd.python.mk17
1 files changed, 16 insertions, 1 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk
index 63f0a11..28eac65 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
OpenPOWER on IntegriCloud