summaryrefslogtreecommitdiff
path: root/lang/python22
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2003-01-20 22:23:38 +0000
committerjdolecek <jdolecek>2003-01-20 22:23:38 +0000
commit4a2ff03be716c44f8372e528cbbe63e56c78cb52 (patch)
tree9ab194b0bfd61e41058cdead67cd2e79dbded5a3 /lang/python22
parent19a6a7153d5d94bdc5d1c1b99ba1ad3427a2ffa2 (diff)
downloadpkgsrc-4a2ff03be716c44f8372e528cbbe63e56c78cb52.tar.gz
don't disable threads on NetBSD if native threads are available
XXX only python22 pkg is changed this way, since this is the only XXX one having special case for NetBSD; python15, python20, python21 disable XXX threads on all pkgsrc operating systems
Diffstat (limited to 'lang/python22')
-rw-r--r--lang/python22/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index 455060e9a92..c4e2277903f 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2002/12/25 12:35:04 grant Exp $
+# $NetBSD: Makefile,v 1.11 2003/01/20 22:23:38 jdolecek Exp $
#
DISTNAME= Python-2.2.2
@@ -26,7 +26,7 @@ PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}
PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
-.if ${OPSYS} == "NetBSD"
+.if (${OPSYS} == "NetBSD") && !exists(/usr/include/pthread.h)
CONFIGURE_ARGS+= --without-threads
.endif