Revision
70807
Author
jmr@macports.org
Date
2010-08-21 21:28:34 -0700 (Sat, 21 Aug 2010)

Log Message

xcodeversion portgroup: only check on OS X

Modified Paths

Diff

Modified: trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl (70806 => 70807)


--- trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl	2010-08-22 01:31:02 UTC (rev 70806)
+++ trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl	2010-08-22 04:28:34 UTC (rev 70807)
@@ -43,8 +43,8 @@
 options minimum_xcodeversions
 default minimum_xcodeversions {}
 
-pre-extract {
-    if {"darwin" == ${os.platform}} {
+platform macosx {
+    pre-extract {
         set current_xcodeversion [exec defaults read ${developer_dir}/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
         foreach {darwin_major minimum_xcodeversion} [join ${minimum_xcodeversions}] {
             if {${darwin_major} == ${os.major}} {