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
commit7f7cd0e4badb8389206a4b146c75e8d6a9169cff (patch)
tree9ab194b0bfd61e41058cdead67cd2e79dbded5a3 /lang/python22
parent741d4f13813325877e01c953923518b680d6db64 (diff)
downloadpkgsrc-7f7cd0e4badb8389206a4b146c75e8d6a9169cff.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