diff options
author | sbd <sbd> | 2012-03-05 08:22:58 +0000 |
---|---|---|
committer | sbd <sbd> | 2012-03-05 08:22:58 +0000 |
commit | 00389a25e7bd560b2a69682740d8dc5e60224557 (patch) | |
tree | 4150fc8bd7903396afcdd6b627a91d878c0180e8 /lang/python27 | |
parent | 41a422ae367d8609afe3d3341f8f9cee1e1fe856 (diff) | |
download | pkgsrc-00389a25e7bd560b2a69682740d8dc5e60224557.tar.gz |
python install different files on Linux-2.* and Linux-3.*
Diffstat (limited to 'lang/python27')
-rw-r--r-- | lang/python27/Makefile | 6 | ||||
-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 |