aboutsummaryrefslogtreecommitdiff
path: root/lang/python27/Makefile
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-27 15:54:26 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-01-27 15:54:26 +0000
commita6d7ea1d57c6d06ca6b4a14ae8f04e876fc6d66b (patch)
treed7bf1dfc0d49c5a9653f5449567f40a04f25707b /lang/python27/Makefile
parent0daaac97a3d381c1884ff4cc76368f90711526d5 (diff)
downloadports-a6d7ea1d57c6d06ca6b4a14ae8f04e876fc6d66b.tar.gz
ports-a6d7ea1d57c6d06ca6b4a14ae8f04e876fc6d66b.zip
Notes
Diffstat (limited to 'lang/python27/Makefile')
-rw-r--r--lang/python27/Makefile22
1 files changed, 3 insertions, 19 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 7013b8601e4d..d8f497196ca8 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -8,28 +8,19 @@
DISTNAME= py152
PKGNAME= python-1.5.2
-CATEGORIES= lang python tk82 ipv6
+CATEGORIES= lang python tk82
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
-PATCH_DIST_STRIP= -p1
-
MAINTAINER= tg@FreeBSD.org
LIB_DEPENDS= ${TK_DEPENDS}
-DIST_SUBDIR= python
+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
@@ -63,7 +54,6 @@ WITH_THREADS?= yes
LIBC_R!= /sbin/ldconfig -r | grep c_r || true
.if ${LIBC_R} != "" && defined(WITH_THREADS) && ${WITH_THREADS} == yes
CONFIGURE_ARGS+= --with-thread
-
CFLAGS+= -D_THREAD_SAFE
CONFIGURE_ENV+= LDFLAGS="-pthread ${LDFLAGS}"
.endif
@@ -85,9 +75,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
@@ -114,7 +101,7 @@ pre-install:
${INSTALL_DATA} ${WRKSRC}/Lib/${platform}/* \
${PREFIX}/lib/python1.5/${platform}/
.endfor
- @sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PLIST_V6} ${PKGDIR}/PLIST
+ @sort -r -o ${PLIST} ${PLIST_TK} ${PLIST_GMP} ${PLIST_TOOLS} ${PKGDIR}/PLIST
post-install:
strip ${PREFIX}/bin/python
@@ -127,8 +114,5 @@ post-install:
@cd ${WRKSRC}; tar cf - Tools | \
(cd ${PREFIX}/lib/python1.5; tar xf -)
.endif
-.if defined(USE_INET6)
- ${INSTALL_DATA} ${WRKSRC}/README.v6 ${PREFIX}/share/doc/python
-.endif
.include <bsd.port.post.mk>