diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-09 11:11:51 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-09 11:11:51 +0000 |
commit | 1dca5f96aaeb8f81aeb2c3d5b651a716d8778df3 (patch) | |
tree | 26ca88cb517a3ce79fe5706412c0c813c41e8cdd /lang/python | |
parent | b8abc82c52764a69be2063a311b21f0b67e36078 (diff) | |
download | pkgsrc-1dca5f96aaeb8f81aeb2c3d5b651a716d8778df3.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.mk | 7 |
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 |