summaryrefslogtreecommitdiff
path: root/lang/python21
diff options
context:
space:
mode:
authorgrant <grant>2004-10-30 16:24:20 +0000
committergrant <grant>2004-10-30 16:24:20 +0000
commit2215d09c1468b6907a0335737c0a7de4d8b7cff6 (patch)
tree49b982106b143e0c3ee13918054c3d509a410143 /lang/python21
parentbe423895f7749d4bb13c0b52a53eea8c2e90cc04 (diff)
downloadpkgsrc-2215d09c1468b6907a0335737c0a7de4d8b7cff6.tar.gz
don't override LOWER_OPSYS, handle PY_PLATNAME in the same way as
python23.
Diffstat (limited to 'lang/python21')
-rw-r--r--lang/python21/Makefile.common8
1 files changed, 3 insertions, 5 deletions
diff --git a/lang/python21/Makefile.common b/lang/python21/Makefile.common
index f67b0ae2db7..b75afaaf59b 100644
--- a/lang/python21/Makefile.common
+++ b/lang/python21/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2004/08/02 16:59:22 recht Exp $
+# $NetBSD: Makefile.common,v 1.6 2004/10/30 16:26:27 grant Exp $
#
DISTNAME= Python-2.1.3
@@ -24,14 +24,12 @@ PLIST_SRC+= ${.CURDIR}/../../lang/python21/PLIST.${OPSYS}
.endif
PLIST_SRC+= ${.CURDIR}/../../lang/python21/PLIST.common_end
-.if ${OPSYS} == "SunOS"
-LOWER_OPSYS= sunos
-.endif
-
.if ${OPSYS} == "Darwin"
PY_PLATNAME= ${LOWER_OPSYS}
.elif ${OPSYS} == "IRIX"
PY_PLATNAME= ${LOWER_OPSYS:C/\..*//}
+.elif ${OPSYS} == "SunOS"
+PY_PLATNAME= sunos${OS_VERSION:C/\..*//}
.else
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif