pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python22 Correct PY_PLATNAME for IRIX, as suggest...
details: https://anonhg.NetBSD.org/pkgsrc/rev/40471a605992
branches: trunk
changeset: 481405:40471a605992
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sun Oct 03 23:25:39 2004 +0000
description:
Correct PY_PLATNAME for IRIX, as suggested by Georg Schwarz.
diffstat:
lang/python22/Makefile.common | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r f3cb1f48e1c6 -r 40471a605992 lang/python22/Makefile.common
--- a/lang/python22/Makefile.common Sun Oct 03 23:19:07 2004 +0000
+++ b/lang/python22/Makefile.common Sun Oct 03 23:25:39 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2004/07/22 09:16:03 recht Exp $
+# $NetBSD: Makefile.common,v 1.5 2004/10/03 23:25:39 jschauma Exp $
#
DISTNAME= Python-2.2.3
@@ -26,8 +26,10 @@
LOWER_OPSYS= sunos
.endif
-.if ${OPSYS} == "Darwin" || ${OPSYS} == "IRIX"
+.if ${OPSYS} == "Darwin"
PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}
+.elif ${OPSYS} == "IRIX"
+PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS:C/\..*//}
.else
PLIST_SUBST+= PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
Home |
Main Index |
Thread Index |
Old Index