diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2004-08-21 01:02:12 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2004-08-21 01:02:12 +0000 |
commit | adca4f9d0ed8ad2f5771aeb47ec40e4b54c0e6a3 (patch) | |
tree | 223ee776196f7f8d6fd858aadc26d63ebf424f3c /lang/python26/Makefile | |
parent | Update to 0.5.3b (diff) |
- Add support for FreeBSD 6.
- Drop FreeBSD 2 support.
- Fix build on -stable.
Spotted by: marcus, kris
Obtained from: Python CVS
Notes
Notes:
svn path=/head/; revision=116864
Diffstat (limited to 'lang/python26/Makefile')
-rw-r--r-- | lang/python26/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lang/python26/Makefile b/lang/python26/Makefile index 18cd9a6e2ab0..aa043aa2bfc6 100644 --- a/lang/python26/Makefile +++ b/lang/python26/Makefile @@ -6,6 +6,7 @@ PORTNAME= python PORTVERSION= 2.4.a2 +PORTREVISION= 1 CATEGORIES= lang python ipv6 MASTER_SITES= ${PYTHON_MASTER_SITES} MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} @@ -101,14 +102,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 +PLATFORMS=plat-freebsd3 plat-freebsd5 plat-freebsd6 .else -PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5 +PLATFORMS=plat-freebsd4 plat-freebsd5 plat-freebsd6 .endif post-extract: @@ -126,6 +127,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: @# prepare a subdir for shared build |