summaryrefslogtreecommitdiff
path: root/lang/python27
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-03-05 08:22:58 +0000
committersbd <sbd@pkgsrc.org>2012-03-05 08:22:58 +0000
commit343553b29e89026ed1a0b6f713b455941f001eba (patch)
tree4150fc8bd7903396afcdd6b627a91d878c0180e8 /lang/python27
parent413ecdf173a67256f569dbc29b59dc25fbc45713 (diff)
downloadpkgsrc-343553b29e89026ed1a0b6f713b455941f001eba.tar.gz
python install different files on Linux-2.* and Linux-3.*
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/Makefile6
-rw-r--r--lang/python27/PLIST.Linux2 (renamed from lang/python27/PLIST.Linux)2
2 files changed, 6 insertions, 2 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index b77ba876547..dda873cc81a 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2012/02/15 16:08:26 drochner Exp $
+# $NetBSD: Makefile,v 1.12 2012/03/05 08:23:24 sbd Exp $
.include "dist.mk"
@@ -75,6 +75,10 @@ PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q}
+.if ${PY_PLATNAME} == "linux2"
+PLIST_SRC+= ${.CURDIR}/../../lang/python24/PLIST.Linux2
+.endif
+
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "amd64") || \
(${MACHINE_ARCH} == "sparc64") || (${MACHINE_ARCH} == "x86_64") || \
(defined(ABI) && ${ABI} == "64")
diff --git a/lang/python27/PLIST.Linux b/lang/python27/PLIST.Linux2
index 6004c2c8072..b94ebd9d396 100644
--- a/lang/python27/PLIST.Linux
+++ b/lang/python27/PLIST.Linux2
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.Linux,v 1.1.1.1 2011/02/22 08:51:59 obache Exp $
+@comment $NetBSD: PLIST.Linux2,v 1.1 2012/03/05 08:23:24 sbd Exp $
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/CDROM.py
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/CDROM.pyc
lib/python${PY_VER_SUFFIX}/plat-${PY_PLATNAME}/CDROM.pyo