aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorWilliam Woodall2011-09-04 23:39:36 -0500
committerJack Nagel2011-09-06 13:43:43 -0500
commitdf8735ba99cecab2ce31dccaadff9c3e56758b37 (patch)
tree61f429439c056e961b182f094e531b27c8d56a6e /Library/Formula
parentb799cc86141d3318fa426034c583c36d68319034 (diff)
downloadhomebrew-df8735ba99cecab2ce31dccaadff9c3e56758b37.tar.bz2
log4cxx: add --universal option
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/log4cxx.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/log4cxx.rb b/Library/Formula/log4cxx.rb
index 41a0e1299..ce2c48178 100644
--- a/Library/Formula/log4cxx.rb
+++ b/Library/Formula/log4cxx.rb
@@ -7,7 +7,15 @@ class Log4cxx < Formula
fails_with_llvm "Fails with \"collect2: ld terminated with signal 11 [Segmentation fault]\"."
+ def options
+ [
+ ["--universal", "Build for both 32 & 64 bit Intel."]
+ ]
+ end
+
def install
+ ENV.universal_binary if ARGV.build_universal?
+
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
# Docs won't install on OS X