aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python31/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-03-24 17:17:27 +0800
committertg <tg@FreeBSD.org>2000-03-24 17:17:27 +0800
commit1eaf1e1edc49427ad96bb5ed1ca62fbff52400ec (patch)
treea5ca1da114eb237c13c6b7db91cfc196f5e0a34c /lang/python31/Makefile
parenta46d6f40834a45613b81e607993759beda761185 (diff)
downloadfreebsd-ports-gnome-1eaf1e1edc49427ad96bb5ed1ca62fbff52400ec.tar.gz
freebsd-ports-gnome-1eaf1e1edc49427ad96bb5ed1ca62fbff52400ec.tar.zst
freebsd-ports-gnome-1eaf1e1edc49427ad96bb5ed1ca62fbff52400ec.zip
Fix packaging on -current.
Diffstat (limited to 'lang/python31/Makefile')
-rw-r--r--lang/python31/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index d8f497196ca8..7e3a0663fe2e 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/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: