root: fix component order
This commit is contained in:
parent
f36018aef6
commit
ef335ab669
1 changed files with 13 additions and 13 deletions
|
@ -14,6 +14,18 @@ class Root < Formula
|
|||
sha256 "e097c9f46de1791e40746db0445182c9190e6fddcad4441212948e751f1d5f0e" => :el_capitan
|
||||
end
|
||||
|
||||
# https://github.com/Homebrew/homebrew-core/issues/30726
|
||||
# strings libCling.so | grep Xcode:
|
||||
# /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
|
||||
# /Applications/Xcode.app/Contents/Developer
|
||||
pour_bottle? do
|
||||
reason "The bottle hardcodes locations inside Xcode.app"
|
||||
satisfy do
|
||||
MacOS::Xcode.installed? &&
|
||||
MacOS::Xcode.prefix.to_s.include?("/Applications/Xcode.app/")
|
||||
end
|
||||
end
|
||||
|
||||
depends_on "cmake" => :build
|
||||
depends_on "davix"
|
||||
depends_on "fftw"
|
||||
|
@ -29,22 +41,10 @@ class Root < Formula
|
|||
depends_on "python" => :recommended
|
||||
depends_on "python@2" => :optional
|
||||
|
||||
# https://github.com/Homebrew/homebrew-core/issues/30726
|
||||
# strings libCling.so | grep Xcode:
|
||||
# /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
|
||||
# /Applications/Xcode.app/Contents/Developer
|
||||
pour_bottle? do
|
||||
reason "The bottle hardcodes locations inside Xcode.app"
|
||||
satisfy do
|
||||
MacOS::Xcode.installed? &&
|
||||
MacOS::Xcode.prefix.to_s.include?("/Applications/Xcode.app/")
|
||||
end
|
||||
end
|
||||
skip_clean "bin"
|
||||
|
||||
needs :cxx11
|
||||
|
||||
skip_clean "bin"
|
||||
|
||||
def install
|
||||
# Work around "error: no member named 'signbit' in the global namespace"
|
||||
ENV.delete("SDKROOT") if DevelopmentTools.clang_build_version >= 900
|
||||
|
|
Loading…
Reference in a new issue