diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2003-01-20 22:23:38 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2003-01-20 22:23:38 +0000 |
commit | 8cc05682fec8fc0022a720fa0a058c84eda0fb50 (patch) | |
tree | 9ab194b0bfd61e41058cdead67cd2e79dbded5a3 | |
parent | aa9fe5b06a60ae34c909ea0a5cea68430fadbee5 (diff) | |
download | pkgsrc-8cc05682fec8fc0022a720fa0a058c84eda0fb50.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
-rw-r--r-- | lang/python22/Makefile | 4 |
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 |