aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-08-12 12:58:16 -0500
committerJack Nagel2012-08-12 13:01:01 -0500
commitf67f015ed1fc69092dc92d594b7fa68c6a6ad818 (patch)
tree9f90ff50a10c9a9b5b27898a10713c0b2ae321c1 /Library/Formula
parent722a78639edcf94130192e60765c0c55124b575c (diff)
downloadhomebrew-f67f015ed1fc69092dc92d594b7fa68c6a6ad818.tar.bz2
pcre: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pcre.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/pcre.rb b/Library/Formula/pcre.rb
index c8afd5286..6223dfd89 100644
--- a/Library/Formula/pcre.rb
+++ b/Library/Formula/pcre.rb
@@ -6,17 +6,15 @@ class Pcre < Formula
mirror 'http://downloads.sourceforge.net/project/pcre/pcre/8.31/pcre-8.31.tar.bz2'
sha256 '5778a02535473c7ee7838ea598c19f451e63cf5eec0bf0307a688301c9078c3c'
+ option :universal
+
fails_with :llvm do
build 2326
cause "Bus error in ld on SL 10.6.4"
end
- def options
- [["--universal", "Build a universal binary."]]
- end
-
def install
- ENV.universal_binary if ARGV.build_universal?
+ ENV.universal_binary if build.niversal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",