diff options
author | grant <grant> | 2004-10-30 16:17:53 +0000 |
---|---|---|
committer | grant <grant> | 2004-10-30 16:17:53 +0000 |
commit | be423895f7749d4bb13c0b52a53eea8c2e90cc04 (patch) | |
tree | fdcf4a1b48355b201da80ed9dd0ce8e474dd2631 /lang/python23 | |
parent | 6effa5a23493b79cd061cc565fab914a961e32b6 (diff) | |
download | pkgsrc-be423895f7749d4bb13c0b52a53eea8c2e90cc04.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/python23')
-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 |