diff options
author | drochner <drochner@pkgsrc.org> | 2003-05-07 19:36:01 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2003-05-07 19:36:01 +0000 |
commit | 0497ba6ffd0ce063b88f8c874e22ba67ffeee886 (patch) | |
tree | 0bd3e8b8651125863f670f2997912d504ba50667 /lang/python22-pth | |
parent | 06d6c7767612dd7a3ad4bcf3d172e26455a265b1 (diff) | |
download | pkgsrc-0497ba6ffd0ce063b88f8c874e22ba67ffeee886.tar.gz |
Join the "pthread.buildlink2.mk" game.
So we get native threads on -current in the default case.
The stacksize bug is still annoying. To survive the selftests, we'd
have to limit the recursion depth to 13. But then, people trying the
first recursive function would be disappointed if they can't even
calculate fac(15)...
Otoh, add-ons like py-gtk and py-wxwindows pull in dynamic libraries
which require libpthread, so we have to cope with it somehow.
Diffstat (limited to 'lang/python22-pth')
-rw-r--r-- | lang/python22-pth/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/python22-pth/Makefile b/lang/python22-pth/Makefile index 5e6d85b5c6d..f52356c8697 100644 --- a/lang/python22-pth/Makefile +++ b/lang/python22-pth/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2003/05/05 19:05:15 jmmv Exp $ +# $NetBSD: Makefile,v 1.5 2003/05/07 19:36:02 drochner Exp $ # DISTNAME= Python-2.2.2 PKGNAME= python22-pth-2.2.2 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= lang MASTER_SITES= ftp://ftp.python.org/pub/python/2.2.2/ EXTRACT_SUFX= .tgz @@ -19,7 +19,9 @@ GNU_CONFIGURE= YES PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//} -.if ${OPSYS} == "NetBSD" +PTHREAD_OPTS= require +.include "../../mk/pthread.buildlink2.mk" +.if ${PTHREAD_TYPE} == "pth" CONFIGURE_ARGS+= --with-pth .endif @@ -28,7 +30,6 @@ INSTALL_TARGET= altinstall post-extract: ${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc2p2 -.include "../../devel/pth/buildlink2.mk" .include "../../devel/zlib/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |