aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/cppunit.rb10
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Formula/cppunit.rb b/Library/Formula/cppunit.rb
index 02c5ef9ee..36ee482e1 100644
--- a/Library/Formula/cppunit.rb
+++ b/Library/Formula/cppunit.rb
@@ -5,8 +5,16 @@ class Cppunit < Formula
homepage 'http://sourceforge.net/apps/mediawiki/cppunit/'
md5 'bd30e9cf5523cdfc019b94f5e1d7fd19'
+ def options
+ [["--universal", "Build for both 32 & 64 bit Intel."]]
+ end
+
def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ args = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"]
+
+ ENV.universal_binary if ARGV.build_universal?
+
+ system "./configure", *args
system "make install"
end
end