aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/dpkg.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/dpkg.rb')
-rw-r--r--Library/Formula/dpkg.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/dpkg.rb b/Library/Formula/dpkg.rb
index 12e8959ea..14471e33c 100644
--- a/Library/Formula/dpkg.rb
+++ b/Library/Formula/dpkg.rb
@@ -8,17 +8,15 @@ class Dpkg < Formula
depends_on 'pkg-config' => :build
depends_on 'gnu-tar'
+ fails_with :clang do
+ build 318
+ end
+
# Fixes the PERL_LIBDIR.
# Uses Homebrew-install gnu-tar instead of bsd tar.
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",