[116514] trunk/base/src

Ryan Schmidt ryandesign at macports.org
Thu Feb 6 02:27:00 PST 2014


On Jan 27, 2014, at 09:23, cal at macports.org wrote:

> Revision
> 116514
> Author
> cal at macports.org
> Date
> 2014-01-27 07:23:40 -0800 (Mon, 27 Jan 2014)
> Log Message
> 
> base/src: further Tcl cleanup, by courtesy of Gustaf Neumann, Tcl8.4-clean

> -                    if {${macports::macosx_version} == "10.5"} {
> +                    if {${macports::macosx_version} == 10.5} {


> -    if {$macosx_deployment_target != "10.4"} {
> +    if {$macosx_deployment_target != 10.4} {


> -            if {$macosx_version == "10.5"} {
> +            if {$macosx_version == 10.5} {


The OS X version number should be treated as a version number. In a pinch, treating it as a string will do, but treating it as a number (which is what this change does) is not correct. Mac OS X 10.1 is not the same as OS X 10.10, but a numeric comparison would consider it to be.




More information about the macports-dev mailing list