[54132] trunk/dports/graphics/tiff/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Jul 21 14:15:34 PDT 2009


Revision: 54132
          http://trac.macports.org/changeset/54132
Author:   ryandesign at macports.org
Date:     2009-07-21 14:15:33 -0700 (Tue, 21 Jul 2009)
Log Message:
-----------
tiff: revert r54124; see #20382 and forthcoming macports-dev discussion

Modified Paths:
--------------
    trunk/dports/graphics/tiff/Portfile

Modified: trunk/dports/graphics/tiff/Portfile
===================================================================
--- trunk/dports/graphics/tiff/Portfile	2009-07-21 20:56:28 UTC (rev 54131)
+++ trunk/dports/graphics/tiff/Portfile	2009-07-21 21:15:33 UTC (rev 54132)
@@ -72,6 +72,17 @@
             }
         }
     }
+    pre-extract {
+        if {9 == ${os.major}} {
+            # http://developer.apple.com/qa/qa2007/qa1567.html
+            set minimum_xcodeversion 3.1
+            set current_xcodeversion [exec defaults read /Developer/Applications/Xcode.app/Contents/Info CFBundleShortVersionString]
+            if {[rpm-vercomp ${current_xcodeversion} ${minimum_xcodeversion}] < 0} {
+                ui_msg "On Mac OS X ${macosx_version}, ${name} ${version} requires Xcode ${minimum_xcodeversion} or later but you have Xcode ${current_xcodeversion}."
+                return -code error "incompatible Xcode version"
+            }
+        }
+    }
 }
 
 livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090721/bc1054d2/attachment.html>


More information about the macports-changes mailing list