diff options
author | drochner <drochner@pkgsrc.org> | 2003-05-07 20:08:18 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2003-05-07 20:08:18 +0000 |
commit | 4aae56f30390c7fd12a66db708dd6a93ee79fddd (patch) | |
tree | a79aca1fc0ed90d94b487bc98d9404db48547943 /lang/python | |
parent | 0497ba6ffd0ce063b88f8c874e22ba67ffeee886 (diff) | |
download | pkgsrc-4aae56f30390c7fd12a66db708dd6a93ee79fddd.tar.gz |
use the same logics for pth dependency like in python2?-pth/Makefile
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/pyversion.mk | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk index b6126c5eceb..db2a11d68d9 100644 --- a/lang/python/pyversion.mk +++ b/lang/python/pyversion.mk @@ -1,4 +1,4 @@ -# $NetBSD: pyversion.mk,v 1.19 2003/03/10 09:19:07 jdolecek Exp $ +# $NetBSD: pyversion.mk,v 1.20 2003/05/07 20:08:18 drochner Exp $ .if !defined(PYTHON_PYVERSION_MK) PYTHON_PYVERSION_MK= defined @@ -102,7 +102,11 @@ PYPACKAGE= python22-pth PYVERSSUFFIX= 2p2 PYPKGPREFIX= py22pth . if defined(USE_BUILDLINK2) -. include "../../devel/pth/buildlink2.mk" +PTHREAD_OPTS= require +. include "../../mk/pthread.buildlink2.mk" +. if ${PTHREAD_TYPE} == "pth" +. include "../../devel/pth/buildlink2.mk" +. endif . endif .elif ${_PYTHON_VERSION} == "21" PYPKGSRCDIR= ../../lang/python21 @@ -117,7 +121,11 @@ PYDEPENDENCY= ${BUILDLINK_DEPENDS.python21-pth}:${PYPKGSRCDIR} PYVERSSUFFIX= 2p1 PYPKGPREFIX= py21pth . if defined(USE_BUILDLINK2) -. include "../../devel/pth/buildlink2.mk" +PTHREAD_OPTS= require +. include "../../mk/pthread.buildlink2.mk" +. if ${PTHREAD_TYPE} == "pth" +. include "../../devel/pth/buildlink2.mk" +. endif . endif .elif ${_PYTHON_VERSION} == "20" PYPKGSRCDIR= ../../lang/python20 |