From df8735ba99cecab2ce31dccaadff9c3e56758b37 Mon Sep 17 00:00:00 2001 From: William Woodall Date: Sun, 4 Sep 2011 23:39:36 -0500 Subject: log4cxx: add --universal option Signed-off-by: Jack Nagel --- Library/Formula/log4cxx.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3