dpkg: mark as fails-with-clang

master
Adam Vandenberg 2012-03-20 20:22:27 -07:00
parent 7f3b48d784
commit 91a4d1b519
1 changed files with 6 additions and 0 deletions

View File

@ -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",