diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2005-07-28 08:29:32 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2005-07-28 08:29:32 +0000 |
commit | ec0aa038433cff3302c41460383e0aec9ff74149 (patch) | |
tree | a802761198f4a0a8a6f98f0ab871960de5b4f6be /lang/python31/Makefile | |
parent | Fix dependency on cyrus-sasl2 (diff) |
Update python-devel to 2.5.a0.20050728 snapshot.
Notes
Notes:
svn path=/head/; revision=140294
Diffstat (limited to 'lang/python31/Makefile')
-rw-r--r-- | lang/python31/Makefile | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile index e97fbac0eb7d..2f7c395b0830 100644 --- a/lang/python31/Makefile +++ b/lang/python31/Makefile @@ -5,16 +5,12 @@ # $FreeBSD$ PORTNAME= python -PORTVERSION= 2.5.a0.20050129 -PORTREVISION= 1 +PORTVERSION= 2.5.a0.20050728 CATEGORIES= lang python ipv6 MASTER_SITES= ${PYTHON_MASTER_SITES} MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} DISTFILES= ${PYTHON_DISTFILE} -PATCH_SITES= http://www.python.org/security/PSF-2005-001/ -PATCHFILES= patch.txt - MAINTAINER= perky@FreeBSD.org COMMENT?= An interpreted object-oriented programming language @@ -22,7 +18,6 @@ DIST_SUBDIR= python WRKSRC= ${PYTHON_WRKSRC} GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ARGS= --with-fpectl CONFIGURE_ENV= OPT="${CFLAGS}" MAKE_ENV= VPATH="${WRKSRC}" INSTALLS_SHLIB= yes @@ -44,7 +39,8 @@ OPTIONS= THREADS "Enable thread support" on \ HUGE_STACK_SIZE "Use a larger thread stack" off \ UCS4 "Use UCS4 for unicode support" on \ PYMALLOC "Use python's internal malloc" on \ - IPV6 "Enable IPv6 support" on + IPV6 "Enable IPv6 support" on \ + FPECTL "Enable floating point exception handling" off .include <bsd.port.pre.mk> @@ -98,14 +94,18 @@ CONFIGURE_ARGS+= --enable-ipv6 CONFIGURE_ARGS+= --disable-ipv6 .endif -.if ${OSVERSION} >= 600000 -PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5 +.if defined(WITH_FPECTL) +CONFIGURE_ARGS+= --with-fpectl +.endif + +.if ${OSVERSION} >= 700000 +PLATFORMS=plat-freebsd4 plat-freebsd5 plat-freebsd6 +.elif ${OSVERSION} >= 600000 +PLATFORMS=plat-freebsd4 plat-freebsd5 plat-freebsd7 .elif ${OSVERSION} >= 500000 -PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd6 -.elif ${OSVERSION} >= 400000 -PLATFORMS=plat-freebsd3 plat-freebsd5 plat-freebsd6 +PLATFORMS=plat-freebsd4 plat-freebsd6 plat-freebsd7 .else -PLATFORMS=plat-freebsd4 plat-freebsd5 plat-freebsd6 +PLATFORMS=plat-freebsd5 plat-freebsd6 plat-freebsd7 .endif post-extract: @@ -123,8 +123,6 @@ pre-patch: ${REINPLACE_CMD} -e \ 's|^\( *prefixes = .*\)\]$$|\1, "${X11BASE}"]|g' \ ${WRKSRC}/Lib/site.py - ${MKDIR} ${WRKSRC}/Lib/plat-freebsd6 - ${CP} ${WRKSRC}/Lib/plat-freebsd5/regen ${WRKSRC}/Lib/plat-freebsd6/ post-configure: @# prepare a subdir for shared build |