diff options
author | grant <grant@pkgsrc.org> | 2004-10-30 16:24:20 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-10-30 16:24:20 +0000 |
commit | c8b32762830ddc0bc5c92c3090ac6a191b4ac55f (patch) | |
tree | 49b982106b143e0c3ee13918054c3d509a410143 /lang/python21 | |
parent | 7ca9b4940a4bf7adff15ff4f1acde93946ea70ad (diff) | |
download | pkgsrc-c8b32762830ddc0bc5c92c3090ac6a191b4ac55f.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.common | 8 |
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 |