27 Feb
2008
27 Feb
'08
10:05 p.m.
On Feb 27, 2008, at 15:51, afb@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...
27 Feb
27 Feb
10:18 p.m.
New subject: [34538] trunk/base/src/port1.0/portmain.tcl
Ryan Schmidt 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...
Yeah, but after getting bashed for using system() calls I didn't really want to fork a call to it on each run ? --anders
6465
Age (days ago)
6465
Last active (days ago)
1 comments
2 participants
participants (2)
-
Anders F Björklund
-
Ryan Schmidt