diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2004-08-20 23:56:16 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2004-08-20 23:56:16 +0000 |
commit | d918a1e17c6b2a8d7970c3f9bffc9037373841e4 (patch) | |
tree | 2285e10111f562effe030b96cbbc4eb8a106d70e /lang/python23/Makefile | |
parent | - Update to 1.2.0 (diff) |
- Add support for FreeBSD 6.
- Remove support for FreeBSD 2.
Spotted by: marcus, kris
Obtained from: Python CVS
Notes
Notes:
svn path=/head/; revision=116861
Diffstat (limited to 'lang/python23/Makefile')
-rw-r--r-- | lang/python23/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lang/python23/Makefile b/lang/python23/Makefile index 080969a76ebd..f1ef275e8e25 100644 --- a/lang/python23/Makefile +++ b/lang/python23/Makefile @@ -7,7 +7,7 @@ PORTNAME= python PORTVERSION= 2.3.4 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= lang python ipv6 MASTER_SITES= ${PYTHON_MASTER_SITES} MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} @@ -103,14 +103,14 @@ CONFIGURE_ARGS+= --enable-ipv6 CONFIGURE_ARGS+= --disable-ipv6 .endif -.if ${OSVERSION} >= 500000 -PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd4 +.if ${OSVERSION} >= 600000 +PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5 +.elif ${OSVERSION} >= 500000 +PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd6 .elif ${OSVERSION} >= 400000 -PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd5 -.elif ${OSVERSION} >= 300000 -PLATFORMS=plat-freebsd2 plat-freebsd4 plat-freebsd5 -.else PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5 +.else +PLATFORMS=plat-freebsd4 plat-freebsd5 plat-freebsd6 .endif post-extract: @@ -126,6 +126,8 @@ 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: ${STACKLESS_POST_CONFIGURE} @# prepare a subdir for shared build |