summaryrefslogtreecommitdiff
path: root/lang/python23
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-10-30 16:17:53 +0000
committergrant <grant@pkgsrc.org>2004-10-30 16:17:53 +0000
commit7ca9b4940a4bf7adff15ff4f1acde93946ea70ad (patch)
treefdcf4a1b48355b201da80ed9dd0ce8e474dd2631 /lang/python23
parent620db7c49d88e7b6e384428cad21e86b0f009648 (diff)
downloadpkgsrc-7ca9b4940a4bf7adff15ff4f1acde93946ea70ad.tar.gz
don't override LOWER_OPSYS just to set PY_PLATNAME. fixes broken PLIST
on Solaris. addresses PR pkg/27053 from Robert Lillack.
Diffstat (limited to 'lang/python23')
-rw-r--r--lang/python23/Makefile.common8
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/python23/Makefile.common b/lang/python23/Makefile.common
index 85a76069e66..32178a76d42 100644
--- a/lang/python23/Makefile.common
+++ b/lang/python23/Makefile.common
@@ -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 @@ PLIST_SRC+= ${.CURDIR}/../../lang/python23/PLIST.${OPSYS}
.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