aboutsummaryrefslogtreecommitdiff
path: root/lang/python25
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-01-09 01:43:30 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-01-09 01:43:30 +0000
commit629c6dcf4817c111437a7e47eec41aeed1e4d956 (patch)
tree591c5a8c8d60f33c6a46f099e7e2f49319650c2a /lang/python25
parent32f9d63c3dc2d6bb5945408fabcba0a103bddc0a (diff)
downloadports-629c6dcf4817c111437a7e47eec41aeed1e4d956.tar.gz
ports-629c6dcf4817c111437a7e47eec41aeed1e4d956.zip
Notes
Diffstat (limited to 'lang/python25')
-rw-r--r--lang/python25/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index 9ffe07820c1d..d8927cc4070c 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= python
-PORTVERSION= 2.4.a0.20031022
-PORTREVISION= 1
+PORTVERSION= 2.4.a0.20040106
CATEGORIES= lang python ipv6
MASTER_SITES= ${PYTHON_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR}
@@ -83,6 +82,9 @@ PLIST_SUB+= 32BIT_ONLY="@comment "
.else
PLIST_SUB+= 32BIT_ONLY=""
.endif
+.if ${ARCH} == sparc64
+CFLAGS+= -DPYTHON_DEFAULT_RECURSION_LIMIT=900
+.endif
.if ${OSVERSION} < 400000
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
@@ -122,6 +124,7 @@ post-extract:
post-patch:
${REINPLACE_CMD} -e 's,\(PY_VERSION.*\)2\.4a0,\1${PORTVERSION},g' \
${WRKSRC}/Include/patchlevel.h
+ ${REINPLACE_CMD} -e 's,^.*freenet.*$$,,' ${WRKSRC}/Lib/base64.py
pre-install:
.for platform in ${PLATFORMS}