22 | | post-patch { |
23 | | if {[catch {set xcodebuild [binaryInPath xcodebuild]}] == 0} { |
24 | | reinplace "s%pbxbuild%${xcodebuild}%" ${worksrcpath}/install.rb |
25 | | } |
26 | | if {[catch {set cpp [binaryInPath cpp-3.3]}] == 0} { |
27 | | reinplace "s%/usr/bin/cpp3%${cpp}%" ${worksrcpath}/tool/och_analyzer3.rb |
28 | | } elseif {[catch {set cpp [binaryInPath cpp3]}] == 0} { |
29 | | reinplace "s%/usr/bin/cpp3%${cpp}%" ${worksrcpath}/tool/och_analyzer3.rb |
30 | | } elseif {[catch {set cpp [binaryInPath cpp]}] == 0} { |
31 | | reinplace "s%/usr/bin/cpp3%${cpp}%" ${worksrcpath}/tool/och_analyzer3.rb |
32 | | } |
33 | | } |
34 | | |