diff options
author | tg <tg@FreeBSD.org> | 2002-04-02 19:55:20 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 2002-04-02 19:55:20 +0800 |
commit | be392a99446be20a88313f32d551750d0a3493e7 (patch) | |
tree | 11115c43c36fa68736cad19d64b748c6a15e2f9f /lang/python22 | |
parent | 0af0bfbc5425bebf526b6eaf8b56e59d11bf4fec (diff) | |
download | freebsd-ports-gnome-be392a99446be20a88313f32d551750d0a3493e7.tar.gz freebsd-ports-gnome-be392a99446be20a88313f32d551750d0a3493e7.tar.zst freebsd-ports-gnome-be392a99446be20a88313f32d551750d0a3493e7.zip |
Explicitly enable IPv6 support.
Submitted by: sumikawa
Diffstat (limited to 'lang/python22')
-rw-r--r-- | lang/python22/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lang/python22/Makefile b/lang/python22/Makefile index 555e6a9f2625..9f150898fac8 100644 --- a/lang/python22/Makefile +++ b/lang/python22/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 |