aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-20 20:22:27 -0700
committerAdam Vandenberg2012-03-20 20:22:27 -0700
commit907c6cee47a4bda2f7aafadde2963cfcff42c9c1 (patch)
tree1b057470b07ed7def8b38043354a90ada29030d8 /Library/Formula
parent63ccfa55496548d99d095c44552a763db599cf14 (diff)
downloadhomebrew-907c6cee47a4bda2f7aafadde2963cfcff42c9c1.tar.bz2
dpkg: mark as fails-with-clang
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dpkg.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/dpkg.rb b/Library/Formula/dpkg.rb
index 8d08101c9..12e8959ea 100644
--- a/Library/Formula/dpkg.rb
+++ b/Library/Formula/dpkg.rb
@@ -13,6 +13,12 @@ class Dpkg < Formula
def patches; DATA; end
def install
+ # FIXME This should be replaced with fails_with_clang once available
+ if ENV.compiler == :clang
+ opoo "Formula will not build with Clang, using LLVM."
+ ENV.llvm
+ end
+
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-compiler-warnings",