aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sl.rb
diff options
context:
space:
mode:
authorJack Nagel2012-03-18 15:33:24 -0500
committerJack Nagel2012-04-01 12:39:59 -0500
commit497b13ac9e088ef2bb9539f0a25ba944c87c6f26 (patch)
treef105351651a7f7bd91099320479c7ed9fdaf50ba /Library/Formula/sl.rb
parentb36f59dd3c8a3bf95eeb715e3fdd05bce2ccdc75 (diff)
downloadhomebrew-497b13ac9e088ef2bb9539f0a25ba944c87c6f26.tar.bz2
Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/sl.rb')
-rw-r--r--Library/Formula/sl.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/sl.rb b/Library/Formula/sl.rb
index 165b0e09b..cd5970532 100644
--- a/Library/Formula/sl.rb
+++ b/Library/Formula/sl.rb
@@ -6,9 +6,11 @@ class Sl < Formula
mirror 'http://ftp.us.debian.org/debian/pool/main/s/sl/sl_3.03.orig.tar.gz'
md5 'd0d997b964bb3478f7f4968eee13c698'
- def install
- ENV.llvm if MacOS.clang_version.to_f <= 3.1
+ fails_with :clang do
+ build 318
+ end
+ def install
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
bin.install "sl"
man1.install "sl.1"