pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python DTRT for USE_BUILDLINK2=no (or [nN][oO]).
details: https://anonhg.NetBSD.org/pkgsrc/rev/608abb3abe86
branches: trunk
changeset: 462361:608abb3abe86
user: kristerw <kristerw%pkgsrc.org@localhost>
date: Tue Sep 30 22:44:52 2003 +0000
description:
DTRT for USE_BUILDLINK2=no (or [nN][oO]).
diffstat:
lang/python/pyversion.mk | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r dd83bb423df6 -r 608abb3abe86 lang/python/pyversion.mk
--- a/lang/python/pyversion.mk Tue Sep 30 22:09:04 2003 +0000
+++ b/lang/python/pyversion.mk Tue Sep 30 22:44:52 2003 +0000
@@ -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 @@
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 @@
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 @@
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 @@
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
Home |
Main Index |
Thread Index |
Old Index