aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/llvm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/llvm.rb')
-rw-r--r--Library/Formula/llvm.rb18
1 files changed, 8 insertions, 10 deletions
diff --git a/Library/Formula/llvm.rb b/Library/Formula/llvm.rb
index 20ed3cb4f..e9ab9accb 100644
--- a/Library/Formula/llvm.rb
+++ b/Library/Formula/llvm.rb
@@ -61,22 +61,20 @@ class Llvm < Formula
system "make" # separate steps required, otherwise the build fails
system "make install"
- if build_clang?
- Dir.chdir clang_dir do
- system "make install"
- end
- end
+ Dir.chdir clang_dir do
+ system "make install"
+ end if build_clang?
end
- def caveats; <<-EOS
- If you already have LLVM installed, then "brew upgrade llvm" might not
- work. Instead, try:
- $ brew rm llvm
- $ brew install llvm
+ def caveats; <<-EOS.undent
+ If you already have LLVM installed, then "brew upgrade llvm" might not work.
+ Instead, try:
+ brew rm llvm & brew install llvm
EOS
end
end
+
__END__
diff --git a/Makefile.rules b/Makefile.rules
index 9cff105..44d5b2d 100644