diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-07-09 07:40:56 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-07-09 07:40:56 +0000 |
commit | 153572d6835a04270bfb2b2797139accb72fa1a9 (patch) | |
tree | d66616beb8b0b7228b6c746af8e162c7149a2c24 /lang/python23 | |
parent | update emulators/x48: enhancements to emulators/x48 (diff) |
Set per-thread stack size to 0x20000 (default) or 0x100000
(WITH_HUGE_STACK_SIZE=yes). This will enable python2.2 to
run Zope and its products.
Requested by: dwhite
Reviewed by: dwhite
Notes
Notes:
svn path=/head/; revision=84509
Diffstat (limited to 'lang/python23')
-rw-r--r-- | lang/python23/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/python23/Makefile b/lang/python23/Makefile index 9452e873bea3..31dfb94e9e8c 100644 --- a/lang/python23/Makefile +++ b/lang/python23/Makefile @@ -7,7 +7,7 @@ PORTNAME= python PORTVERSION= 2.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang python ipv6 MASTER_SITES= ${MASTER_SITE_PYTHON} MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION} @@ -35,6 +35,11 @@ PYTHON_NO_DEPENDS= yes .if !defined(WITHOUT_THREADS) CONFIGURE_ARGS+= --with-threads CFLAGS+= ${PTHREAD_CFLAGS} +.if !defined(WANT_HUGE_STACK_SIZE) +CFLAGS+= -DTHREAD_STACK_SIZE=0x20000 +.else +CFLAGS+= -DTHREAD_STACK_SIZE=0x100000 +.endif CONFIGURE_ENV+= LDFLAGS="${PTHREAD_LIBS} ${LDFLAGS}" .else CONFIGURE_ARGS+= --without-threads |