aboutsummaryrefslogtreecommitdiff
path: root/lang/python31
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2002-04-02 11:55:20 +0000
committerThomas Gellekum <tg@FreeBSD.org>2002-04-02 11:55:20 +0000
commit33830c0c521893cf988c927714b40e3d1e70ca45 (patch)
treeb437bba07852c9013e7bf4fe65a237e74bdd64b7 /lang/python31
parent90e1d076cc1e0e5253eed769a876725a1c619682 (diff)
downloadports-33830c0c521893cf988c927714b40e3d1e70ca45.tar.gz
ports-33830c0c521893cf988c927714b40e3d1e70ca45.zip
Notes
Diffstat (limited to 'lang/python31')
-rw-r--r--lang/python31/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 555e6a9f2625..9f150898fac8 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/Makefile
@@ -7,8 +7,8 @@
PORTNAME= python
PORTVERSION= 2.2
-PORTREVISION= 1
-CATEGORIES= lang python
+PORTREVISION= 2
+CATEGORIES= lang python ipv6
MASTER_SITES= http://www.python.org/ftp/python/${PORTVERSION}/ \
http://SunSITE.Informatik.RWTH-Aachen.DE/python/ftp/python/${PORTVERSION}/
DISTFILES= ${PYTHON_DISTFILE}
@@ -57,6 +57,12 @@ CONFIGURE_ARGS+= --with-libs='-lxpg4'
CONFIGURE_ARGS+= --with-libs='-lxpg4'
.endif
+.if ${OSVERSION} >= 400014
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
.if ${OSVERSION} >= 500000
PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd4
.elif ${OSVERSION} >= 400000