diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-10-03 23:25:39 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-10-03 23:25:39 +0000 |
commit | d7774ca2f0f164ca46b7055550ae9ea6907ad32b (patch) | |
tree | e4e911a357c30eff2f2dcfc6cd41daad43549c7d /lang/python22 | |
parent | 92129b89805f512a8083fac834f333eb7e9a9955 (diff) | |
download | pkgsrc-d7774ca2f0f164ca46b7055550ae9ea6907ad32b.tar.gz |
Correct PY_PLATNAME for IRIX, as suggested by Georg Schwarz.
Diffstat (limited to 'lang/python22')
-rw-r--r-- | lang/python22/Makefile.common | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/python22/Makefile.common b/lang/python22/Makefile.common index 7ce95d0ac2e..d671bc3e4cb 100644 --- a/lang/python22/Makefile.common +++ b/lang/python22/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/10/03 23:25:39 jschauma Exp $ # DISTNAME= Python-2.2.3 @@ -26,8 +26,10 @@ PLIST_SRC+= ${.CURDIR}/../../lang/python22/PLIST.common_end 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 |