summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2003-09-30 22:44:52 +0000
committerkristerw <kristerw@pkgsrc.org>2003-09-30 22:44:52 +0000
commit1379422e422b6de6228de2bf6d042ac3a8a1f5b5 (patch)
tree3de8f64a9c965b73cab22f44252ff4b9377a9f4f /lang/python
parentcc9e8710920b7cc381fed757e9a3beb84f53be5c (diff)
downloadpkgsrc-1379422e422b6de6228de2bf6d042ac3a8a1f5b5.tar.gz
DTRT for USE_BUILDLINK2=no (or [nN][oO]).
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/pyversion.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk
index 0e87258a512..4d5affdb827 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.21 2003/08/04 08:15:47 drochner Exp $
+# $NetBSD: pyversion.mk,v 1.22 2003/09/30 22:44:52 kristerw Exp $
.if !defined(PYTHON_PYVERSION_MK)
PYTHON_PYVERSION_MK= defined
@@ -109,7 +109,7 @@ PYDEPENDENCY= ${BUILDLINK_DEPENDS.python23-pth}:${PYPKGSRCDIR}
PYPACKAGE= python23-pth
PYVERSSUFFIX= 2p3
PYPKGPREFIX= py23pth
-. if defined(USE_BUILDLINK2)
+. if defined(USE_BUILDLINK2) && empty(USE_BUILDLINK2:M[nN][oO])
PTHREAD_OPTS= require
. include "../../mk/pthread.buildlink2.mk"
. if ${PTHREAD_TYPE} == "pth"
@@ -128,7 +128,7 @@ PYDEPENDENCY= ${BUILDLINK_DEPENDS.python22-pth}:${PYPKGSRCDIR}
PYPACKAGE= python22-pth
PYVERSSUFFIX= 2p2
PYPKGPREFIX= py22pth
-. if defined(USE_BUILDLINK2)
+. if defined(USE_BUILDLINK2) && empty(USE_BUILDLINK2:M[nN][oO])
PTHREAD_OPTS= require
. include "../../mk/pthread.buildlink2.mk"
. if ${PTHREAD_TYPE} == "pth"
@@ -147,7 +147,7 @@ PYPACKAGE= python21-pth
PYDEPENDENCY= ${BUILDLINK_DEPENDS.python21-pth}:${PYPKGSRCDIR}
PYVERSSUFFIX= 2p1
PYPKGPREFIX= py21pth
-. if defined(USE_BUILDLINK2)
+. if defined(USE_BUILDLINK2) && empty(USE_BUILDLINK2:M[nN][oO])
PTHREAD_OPTS= require
. include "../../mk/pthread.buildlink2.mk"
. if ${PTHREAD_TYPE} == "pth"
@@ -174,7 +174,7 @@ BUILD_DEPENDS+= py15-distutils-*:../../devel/py-distutils
error: no valid Python version
.endif
-.if defined(USE_BUILDLINK2)
+.if defined(USE_BUILDLINK2) && empty(USE_BUILDLINK2:M[nN][oO])
. if defined(PYTHON_FOR_BUILD_ONLY)
BUILD_DEPMETHOD.python?= build
. endif