pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python23 don't override LOWER_OPSYS just to set P...
details: https://anonhg.NetBSD.org/pkgsrc/rev/682d0279b367
branches: trunk
changeset: 482613:682d0279b367
user: grant <grant%pkgsrc.org@localhost>
date: Sat Oct 30 16:17:53 2004 +0000
description:
don't override LOWER_OPSYS just to set PY_PLATNAME. fixes broken PLIST
on Solaris.
addresses PR pkg/27053 from Robert Lillack.
diffstat:
lang/python23/Makefile.common | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r 6d333c77f8cf -r 682d0279b367 lang/python23/Makefile.common
--- a/lang/python23/Makefile.common Sat Oct 30 15:24:02 2004 +0000
+++ b/lang/python23/Makefile.common Sat Oct 30 16:17:53 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.17 2004/10/05 10:53:20 minskim Exp $
+# $NetBSD: Makefile.common,v 1.18 2004/10/30 16:17:53 grant Exp $
#
DISTNAME= Python-2.3.4
@@ -29,12 +29,10 @@
.endif
PLIST_SRC+= ${.CURDIR}/../../lang/python23/PLIST.common_end
-.if ${OPSYS} == "SunOS"
-LOWER_OPSYS= sunos
-.endif
-
.if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" || ${OPSYS} == "IRIX"
PY_PLATNAME= ${LOWER_OPSYS}
+.elif ${OPSYS} == "SunOS"
+PY_PLATNAME= sunos${OS_VERSION:C/\..*//}
.else
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
Home |
Main Index |
Thread Index |
Old Index