aboutsummaryrefslogtreecommitdiff
path: root/lang/python22/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-07-09 07:40:56 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-07-09 07:40:56 +0000
commit153572d6835a04270bfb2b2797139accb72fa1a9 (patch)
treed66616beb8b0b7228b6c746af8e162c7149a2c24 /lang/python22/Makefile
parent8006b733b5e5cd3adf47f262eee691b54c26bcaf (diff)
downloadports-153572d6835a04270bfb2b2797139accb72fa1a9.tar.gz
ports-153572d6835a04270bfb2b2797139accb72fa1a9.zip
Notes
Diffstat (limited to 'lang/python22/Makefile')
-rw-r--r--lang/python22/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile
index 9452e873bea3..31dfb94e9e8c 100644
--- a/lang/python22/Makefile
+++ b/lang/python22/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