summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-09 11:11:51 +0000
committerjlam <jlam>2002-10-09 11:11:51 +0000
commit1ce43c7728223936e310ad06c5e6a2aabd22b16a (patch)
tree26ca88cb517a3ce79fe5706412c0c813c41e8cdd /lang/python
parente29f9b8ec2475af2b5b9f328d5d51011088ca839 (diff)
downloadpkgsrc-1ce43c7728223936e310ad06c5e6a2aabd22b16a.tar.gz
Set PYPACKAGE to the ${PKGBASE} of the python package used. PYPACKAGE can
later be used to probe the values in the various buildlink2.mk files.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/pyversion.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk
index eeff63e903c..51598c08c26 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.13 2002/10/09 11:06:13 jlam Exp $
+# $NetBSD: pyversion.mk,v 1.14 2002/10/09 11:11:51 jlam Exp $
.if !defined(PYTHON_PYVERSION_MK)
PYTHON_PYVERSION_MK= defined
@@ -84,15 +84,18 @@ _PYTHON_VERSION= ${_PYTHON_VERSION_FIRSTACCEPTED}
.if ${_PYTHON_VERSION} == "22"
PYPKGSRCDIR= ../../lang/python22
PYDEPENDENCY= ${BUILDLINK_DEPENDS.python22}:${PYPKGSRCDIR}
+PYPACKAGE= python22
PYVERSSUFFIX= 2.2
PYPKGPREFIX= py22
.elif ${_PYTHON_VERSION} == "21"
PYPKGSRCDIR= ../../lang/python21
+PYPACKAGE= python21
PYDEPENDENCY= ${BUILDLINK_DEPENDS.python21}:${PYPKGSRCDIR}
PYVERSSUFFIX= 2.1
PYPKGPREFIX= py21
.elif ${_PYTHON_VERSION} == "21pth"
PYPKGSRCDIR= ../../lang/python21-pth
+PYPACKAGE= python21-pth
PYDEPENDENCY= ${BUILDLINK_DEPENDS.python21-pth}:${PYPKGSRCDIR}
PYVERSSUFFIX= 2p1
PYPKGPREFIX= py21pth
@@ -103,11 +106,13 @@ PYPKGPREFIX= py21pth
. endif
.elif ${_PYTHON_VERSION} == "20"
PYPKGSRCDIR= ../../lang/python20
+PYPACKAGE= python20
PYDEPENDENCY= ${BUILDLINK_DEPENDS.python20}:${PYPKGSRCDIR}
PYVERSSUFFIX= 2.0
PYPKGPREFIX= py20
.elif ${_PYTHON_VERSION} == "15"
PYPKGSRCDIR= ../../lang/python15
+PYPACKAGE= python15
PYDEPENDENCY= ${BUILDLINK_DEPENDS.python15}:${PYPKGSRCDIR}
PYVERSSUFFIX= 1.5
PYPKGPREFIX= py15