[90029] branches/release_2_0/base/src/port1.0/portconfigure.tcl
jberry at macports.org
jberry at macports.org
Sun Feb 19 16:16:01 PST 2012
Revision: 90029
http://trac.macports.org/changeset/90029
Author: jberry at macports.org
Date: 2012-02-19 16:16:01 -0800 (Sun, 19 Feb 2012)
Log Message:
-----------
whitespace only: tabs --> spaces
Modified Paths:
--------------
branches/release_2_0/base/src/port1.0/portconfigure.tcl
Modified: branches/release_2_0/base/src/port1.0/portconfigure.tcl
===================================================================
--- branches/release_2_0/base/src/port1.0/portconfigure.tcl 2012-02-20 00:14:16 UTC (rev 90028)
+++ branches/release_2_0/base/src/port1.0/portconfigure.tcl 2012-02-20 00:16:01 UTC (rev 90029)
@@ -374,7 +374,7 @@
# Find a developer tool
proc portconfigure::find_developer_tool {name} {
- global developer_dir
+ global developer_dir
# first try /usr/bin since this doesn't move around
set toolpath "/usr/bin/${name}"
@@ -382,17 +382,17 @@
return $toolpath
}
- # Use xcode's xcrun to find the named tool.
- if {![catch {exec [findBinary xcrun $portutil::autoconf::xcrun_path] -find ${name}} toolpath]} {
- return ${toolpath}
- }
+ # Use xcode's xcrun to find the named tool.
+ if {![catch {exec [findBinary xcrun $portutil::autoconf::xcrun_path] -find ${name}} toolpath]} {
+ return ${toolpath}
+ }
- # If xcrun failed to find the tool, return a path from
- # the developer_dir.
- # The tool may not be there, but we'll leave it up to
- # the invoking code to figure out that it doesn't have
- # a valid compiler
- return "${developer_dir}/usr/bin/${name}"
+ # If xcrun failed to find the tool, return a path from
+ # the developer_dir.
+ # The tool may not be there, but we'll leave it up to
+ # the invoking code to figure out that it doesn't have
+ # a valid compiler
+ return "${developer_dir}/usr/bin/${name}"
}
# internal function to find correct compilers
@@ -458,7 +458,7 @@
cc { set ret [find_developer_tool clang] }
objc { set ret [find_developer_tool clang] }
cxx {
- set clangpp [find_developer_tool clang++]
+ set clangpp [find_developer_tool clang++]
if {[file executable ${clangpp}]} {
set ret ${clangpp}
} else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120219/9fcf59c9/attachment-0001.html>
More information about the macports-changes
mailing list