summaryrefslogtreecommitdiff
path: root/lang/python21
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-08-02 16:59:22 +0000
committerrecht <recht@pkgsrc.org>2004-08-02 16:59:22 +0000
commitd3724c967cd8eb6ab822b3269688ffad549dda12 (patch)
tree046d060f28e119aa1815a1282a093bd2efac2506 /lang/python21
parentd74d026f2b28aa46203400a2dc716814b26a3f2f (diff)
downloadpkgsrc-d3724c967cd8eb6ab822b3269688ffad549dda12.tar.gz
Fix PY_PLATNAME for IRIX.
Patch provided by Georg Schwarz in PR pkg/26507 Bump PKGREVISIONS (PLIST change)
Diffstat (limited to 'lang/python21')
-rw-r--r--lang/python21/Makefile4
-rw-r--r--lang/python21/Makefile.common6
2 files changed, 6 insertions, 4 deletions
diff --git a/lang/python21/Makefile b/lang/python21/Makefile
index 042f09ce90a..2e62fb9d35e 100644
--- a/lang/python21/Makefile
+++ b/lang/python21/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2004/01/27 18:55:30 abs Exp $
+# $NetBSD: Makefile,v 1.15 2004/08/02 16:59:22 recht Exp $
#
PKGNAME= python21-2.1.3
-PKGREVISION= 2
+PKGREVISION= 3
CONFIGURE_ARGS+= --without-threads
diff --git a/lang/python21/Makefile.common b/lang/python21/Makefile.common
index e50438c2b65..f67b0ae2db7 100644
--- a/lang/python21/Makefile.common
+++ b/lang/python21/Makefile.common
@@ -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/08/02 16:59:22 recht Exp $
#
DISTNAME= Python-2.1.3
@@ -28,8 +28,10 @@ PLIST_SRC+= ${.CURDIR}/../../lang/python21/PLIST.common_end
LOWER_OPSYS= sunos
.endif
-.if ${OPSYS} == "Darwin" || ${OPSYS} == "IRIX"
+.if ${OPSYS} == "Darwin"
PY_PLATNAME= ${LOWER_OPSYS}
+.elif ${OPSYS} == "IRIX"
+PY_PLATNAME= ${LOWER_OPSYS:C/\..*//}
.else
PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif