[54133] trunk/dports/graphics/tiff/Portfile
toby at macports.org
toby at macports.org
Tue Jul 21 14:18:07 PDT 2009
Revision: 54133
http://trac.macports.org/changeset/54133
Author: toby at macports.org
Date: 2009-07-21 14:18:07 -0700 (Tue, 21 Jul 2009)
Log Message:
-----------
Since we're apparently keeping this check in, attempt to fix it.
Modified Paths:
--------------
trunk/dports/graphics/tiff/Portfile
Modified: trunk/dports/graphics/tiff/Portfile
===================================================================
--- trunk/dports/graphics/tiff/Portfile 2009-07-21 21:15:33 UTC (rev 54132)
+++ trunk/dports/graphics/tiff/Portfile 2009-07-21 21:18:07 UTC (rev 54133)
@@ -76,7 +76,7 @@
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]
+ set current_xcodeversion [exec defaults read [exec xcode-select -print-path]/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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090721/0ed14f58/attachment-0001.html>
More information about the macports-changes
mailing list