pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/python32 "sys.platform is now always 'linux2' on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc5fe03c08d8
branches:  trunk
changeset: 603673:cc5fe03c08d8
user:      sbd <sbd%pkgsrc.org@localhost>
date:      Thu May 10 09:07:19 2012 +0000

description:
"sys.platform is now always 'linux2' on Linux", so set PY_PLATNAME to it.

diffstat:

 lang/python32/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 9ef5691bf031 -r cc5fe03c08d8 lang/python32/Makefile
--- a/lang/python32/Makefile    Thu May 10 08:54:12 2012 +0000
+++ b/lang/python32/Makefile    Thu May 10 09:07:19 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2012/05/06 13:12:09 obache Exp $
+# $NetBSD: Makefile,v 1.2 2012/05/10 09:07:19 sbd Exp $
 
 .include "dist.mk"
 
@@ -42,6 +42,8 @@
 PY_PLATNAME=   sunos${OS_VERSION:C/\..*//}
 .elif ${OPSYS} == "HPUX"
 PY_PLATNAME=   hp-ux11
+.elif ${OPSYS} == "Linux"
+PY_PLATNAME=   linux2
 .else
 PY_PLATNAME=   ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
 .endif



Home | Main Index | Thread Index | Old Index