diff options
author | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2000-01-27 15:54:26 +0000 |
---|---|---|
committer | Munechika SUMIKAWA <sumikawa@FreeBSD.org> | 2000-01-27 15:54:26 +0000 |
commit | a6d7ea1d57c6d06ca6b4a14ae8f04e876fc6d66b (patch) | |
tree | d7bf1dfc0d49c5a9653f5449567f40a04f25707b /lang/python+ipv6 | |
parent | 0daaac97a3d381c1884ff4cc76368f90711526d5 (diff) | |
download | ports-a6d7ea1d57c6d06ca6b4a14ae8f04e876fc6d66b.tar.gz ports-a6d7ea1d57c6d06ca6b4a14ae8f04e876fc6d66b.zip |
move IPv6-enable python to python+ipv6 and revert origial python
to before IPv6.
Since IPv6-enable python make bigger the size of sockaddr, some of scripts
are affected. I maintain python+ipv6 separately to minimize impact for users.
It will be removed when IPv6 patches are merged into original distribution,
such as ruby.
Repositry copied by: asami
Notes
Notes:
svn path=/head/; revision=25122
Diffstat (limited to 'lang/python+ipv6')
-rw-r--r-- | lang/python+ipv6/Makefile | 23 | ||||
-rw-r--r-- | lang/python+ipv6/distinfo | 2 |
2 files changed, 12 insertions, 13 deletions
diff --git a/lang/python+ipv6/Makefile b/lang/python+ipv6/Makefile index 7013b8601e4d..28c2c6639c9c 100644 --- a/lang/python+ipv6/Makefile +++ b/lang/python+ipv6/Makefile @@ -7,17 +7,17 @@ # DISTNAME= py152 -PKGNAME= python-1.5.2 +PKGNAME= python+ipv6-1.5.2 CATEGORIES= lang python tk82 ipv6 MASTER_SITES= ftp://www.python.org/pub/python/src/ \ ftp://ftp.cwi.nl/pub/python/src/ EXTRACT_SUFX= .tgz PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ -PATCHFILES= python-152-v6-20000113.diff.gz +PATCHFILES= python-152-v6-20000120.diff.gz PATCH_DIST_STRIP= -p1 -MAINTAINER= tg@FreeBSD.org +MAINTAINER= sumikawa@FreeBSD.org LIB_DEPENDS= ${TK_DEPENDS} @@ -25,11 +25,6 @@ DIST_SUBDIR= python WRKSRC= ${WRKDIR}/Python-1.5.2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-fpectl --with-libs='-lxpg4' -.if defined(USE_INET6) -CONFIGURE_ARGS+=--enable-ipv6 -.else -CONFIGURE_ARGS+=--disable-ipv6 -.endif CONFIGURE_ENV= OPT="${CFLAGS}" INSTALL_TARGET= install PLIST= ${WRKDIR}/PLIST @@ -85,9 +80,6 @@ WITH_TOOLS?= yes .if defined(WITH_TOOLS) && ${WITH_TOOLS} == yes PLIST_TOOLS= ${PKGDIR}/PLIST.Tools .endif -.if defined(USE_INET6) -PLIST_V6= ${PKGDIR}/PLIST.v6 -.endif post-extract: cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh @@ -100,6 +92,13 @@ post-configure: .include <bsd.port.pre.mk> +.if ${OSVERSION} >= 400014 +PLIST_V6= ${PKGDIR}/PLIST.v6 +CONFIGURE_ARGS+=--enable-ipv6 +.else +CONFIGURE_ARGS+=--disable-ipv6 +.endif + .if ${OSVERSION} >= 400000 PLATFORMS=plat-freebsd2 plat-freebsd3 .elif ${OSVERSION} >= 300000 @@ -127,7 +126,7 @@ post-install: @cd ${WRKSRC}; tar cf - Tools | \ (cd ${PREFIX}/lib/python1.5; tar xf -) .endif -.if defined(USE_INET6) +.if ${OSVERSION} >= 400014 ${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python .endif diff --git a/lang/python+ipv6/distinfo b/lang/python+ipv6/distinfo index e1b1bece3998..dbc3ba6b23af 100644 --- a/lang/python+ipv6/distinfo +++ b/lang/python+ipv6/distinfo @@ -1,2 +1,2 @@ MD5 (python/py152.tgz) = e9d677ae6d5a3efc6937627ed8a3e752 -MD5 (python/python-152-v6-20000113.diff.gz) = 9f130f18402d4731287db54acdf7a01f +MD5 (python/python-152-v6-20000120.diff.gz) = bbbd8296a8f651a76ea60a9ff0a5feb1 |