diff options
author | grant <grant@pkgsrc.org> | 2004-10-30 16:17:53 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-10-30 16:17:53 +0000 |
commit | e24d7740ab700025b83ef01be6e2b3c7046239bd (patch) | |
tree | fdcf4a1b48355b201da80ed9dd0ce8e474dd2631 /lang | |
parent | bad7d97ff6d4ee1e4c383f89fc287a068a9c43e3 (diff) | |
download | pkgsrc-e24d7740ab700025b83ef01be6e2b3c7046239bd.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')
-rw-r--r-- | lang/python23/Makefile.common | 8 |
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 |