diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-07-06 20:30:29 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2009-07-06 20:30:29 +0000 |
commit | 48d856c3b29ff02e3e19e4692577a86349b00b84 (patch) | |
tree | 95354afcc876e51ecbfed7d0e0a7a8536db55570 /Mk/bsd.python.mk | |
parent | fb7b248a9527255c1504fa154a17ed35cb6d5daf (diff) | |
download | ports-48d856c3b29ff02e3e19e4692577a86349b00b84.tar.gz ports-48d856c3b29ff02e3e19e4692577a86349b00b84.zip |
Notes
Diffstat (limited to 'Mk/bsd.python.mk')
-rw-r--r-- | Mk/bsd.python.mk | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk index a48cba2a8fe4..3dad4b5c75a2 100644 --- a/Mk/bsd.python.mk +++ b/Mk/bsd.python.mk @@ -214,7 +214,7 @@ Python_Include_MAINTAINER= python@FreeBSD.org # _PYTHON_PORTBRANCH= 2.6 -_PYTHON_ALLBRANCHES= 2.6 2.5 2.4 2.3 3.0 # preferred first +_PYTHON_ALLBRANCHES= 2.6 2.5 2.4 2.3 3.1 3.0 # preferred first _ZOPE_PORTBRANCH= 2.7 _ZOPE_ALLBRANCHES= 2.7 2.8 2.9 2.10 3.2 @@ -369,8 +369,16 @@ PYTHON_PORTVERSION= ${PYTHON_DEFAULT_PORTVERSION} # Propagate the chosen python version to submakes. .MAKEFLAGS: PYTHON_VERSION=python${_PYTHON_VERSION} +# Python-3.1 +.if ${PYTHON_VERSION} == "python3.1" +PYTHON_PORTVERSION?=3.1 +PYTHON_PORTSDIR= ${PORTSDIR}/lang/python31 +PYTHON_REL= 310 +PYTHON_SUFFIX= 31 +PYTHON_VER= 3.1 + # Python-3.0 -.if ${PYTHON_VERSION} == "python3.0" +.elif ${PYTHON_VERSION} == "python3.0" PYTHON_PORTVERSION?=3.0.1 PYTHON_PORTSDIR= ${PORTSDIR}/lang/python30 PYTHON_REL= 301 @@ -428,6 +436,7 @@ check-makevars:: @${ECHO} " python2.5" @${ECHO} " python2.6 (default)" @${ECHO} " python3.0" + @${ECHO} " python3.1" @${FALSE} .endif |