[34538] trunk/base/src/port1.0/portmain.tcl

Ryan Schmidt ryandesign at macports.org
Wed Feb 27 14:05:46 PST 2008


On Feb 27, 2008, at 15:51, afb at macports.org wrote:

> +set macosx_version {}
> +if {$os_platform == "darwin"} {
> +    # This will probably break when Apple changes versioning
> +    set macosx_version [expr 10.0 + ($os_major - 4) / 10.0]
> +}


I expect "sw_vers -productVersion" would always work...



More information about the macports-dev mailing list