aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTojek Anselm2010-10-17 08:52:14 -0700
committerAdam Vandenberg2010-11-02 06:56:36 -0700
commit144ea5853c6da09f71f6e3111a2a0d4243448dab (patch)
tree0e67c62dafe5740be5e5e631f6202a1edcbbf605 /Library/Formula
parentafb92672793acb7740e7763498f832589c6e7a42 (diff)
downloadhomebrew-144ea5853c6da09f71f6e3111a2a0d4243448dab.tar.bz2
pcre --universal option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pcre.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/pcre.rb b/Library/Formula/pcre.rb
index 501c84e25..d37af61dd 100644
--- a/Library/Formula/pcre.rb
+++ b/Library/Formula/pcre.rb
@@ -5,8 +5,13 @@ class Pcre <Formula
homepage 'http://www.pcre.org/'
md5 '780867a700e9d4e4b9cb47aa5453e4b2'
+ def options
+ [["--universal", "Build a universal binary."]]
+ end
+
def install
fails_with_llvm "Bus error in ld on SL 10.6.4"
+ ENV.universal_binary if ARGV.include? "--universal"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",