pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/26507: python21's PY_PLATNAME is wrong on IRIX 5.3



>Number:         26507
>Category:       pkg
>Synopsis:       python21's PY_PLATNAME is wrong on IRIX 5.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 01 22:56:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
On IRIX 5.3, lang/python21 installs certain scripts in 
${LOCALBASE}/python2.1/plat-irix5. Nevertheless Makefile.common sets 
PY_PLATNAME=    ${LOWER_OPSYS} i.e. =irix5.3

>How-To-Repeat:


>Fix:
Assuming this the behavior is analogous for IRIX 6.X,  the following might do 
(in Makefile.common):

.if ${OPSYS} == "Darwin"
PY_PLATNAME=    ${LOWER_OPSYS}
.elif  ${OPSYS} == "IRIX"
PY_PLATNAME=    ${LOWER_OPSYS:C/\..*//}
.else
PY_PLATNAME=    ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index