aboutsummaryrefslogtreecommitdiff
path: root/lang/python26/Makefile
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-03-24 09:17:27 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-03-24 09:17:27 +0000
commit548805770e4a7bb8ba82cb8eda5af9b0f3f41ea9 (patch)
tree6e20d4fac0dc0e63b30adc15100442e35c4a1cf8 /lang/python26/Makefile
parente682d0f1c70d73b5b619bb9491e16133f7e37e06 (diff)
downloadports-548805770e4a7bb8ba82cb8eda5af9b0f3f41ea9.tar.gz
ports-548805770e4a7bb8ba82cb8eda5af9b0f3f41ea9.zip
Notes
Diffstat (limited to 'lang/python26/Makefile')
-rw-r--r--lang/python26/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index d8f497196ca8..7e3a0663fe2e 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/Makefile
@@ -78,6 +78,7 @@ PLIST_TOOLS= ${PKGDIR}/PLIST.Tools
post-extract:
cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd4.sh
+ cd ${WRKSRC}/Lib && ${SH} ${FILESDIR}/plat-freebsd5.sh
post-configure:
${CP} ${FILESDIR}/${SETUP_FILE} ${WRKSRC}/Modules/Setup
@@ -87,12 +88,14 @@ post-configure:
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 400000
-PLATFORMS=plat-freebsd2 plat-freebsd3
+.if ${OSVERSION} >= 500000
+PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd4
+.elif ${OSVERSION} >= 400000
+PLATFORMS=plat-freebsd2 plat-freebsd3 plat-freebsd5
.elif ${OSVERSION} >= 300000
-PLATFORMS=plat-freebsd2 plat-freebsd4
-.else
-PLATFORMS=plat-freebsd3 plat-freebsd4
+PLATFORMS=plat-freebsd2 plat-freebsd4 plat-freebsd5
+.else
+PLATFORMS=plat-freebsd3 plat-freebsd4 plat-freebsd5
.endif
pre-install: