aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python31
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2004-01-09 09:43:30 +0800
committerperky <perky@FreeBSD.org>2004-01-09 09:43:30 +0800
commit310d59e149f76c6d74d0d1c437dac68196af589c (patch)
treec074755e9d452d99d7046eb0637b9ded891eb305 /lang/python31
parentdcd6d208b0c8f3f233bfe4d4fb68f87aea92ca80 (diff)
downloadfreebsd-ports-gnome-310d59e149f76c6d74d0d1c437dac68196af589c.tar.gz
freebsd-ports-gnome-310d59e149f76c6d74d0d1c437dac68196af589c.tar.zst
freebsd-ports-gnome-310d59e149f76c6d74d0d1c437dac68196af589c.zip
Update python-devel to 2.4 20040106 snapshot.
Diffstat (limited to 'lang/python31')
-rw-r--r--lang/python31/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 9ffe07820c1d..d8927cc4070c 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/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}