aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gdbm.rb
diff options
context:
space:
mode:
authorJohn Benediktsson2012-06-19 08:59:44 -0700
committerAdam Vandenberg2012-06-23 10:23:29 -0700
commitba2c84f15ea9fb29986696829bcf43a142f80d18 (patch)
tree800994d6106feeb05819dc9242997c267ae96ce0 /Library/Formula/gdbm.rb
parent36d603dc3a880914eab43c7aaff1bfd541633454 (diff)
downloadhomebrew-ba2c84f15ea9fb29986696829bcf43a142f80d18.tar.bz2
gdbm: add universal option.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/gdbm.rb')
-rw-r--r--Library/Formula/gdbm.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/gdbm.rb b/Library/Formula/gdbm.rb
index fa338e396..d16a40038 100644
--- a/Library/Formula/gdbm.rb
+++ b/Library/Formula/gdbm.rb
@@ -6,7 +6,12 @@ class Gdbm < Formula
mirror 'http://ftp.gnu.org/gnu/gdbm/gdbm-1.10.tar.gz'
md5 '88770493c2559dc80b561293e39d3570'
+ def options
+ [["--universal", "Build a universal binary."]]
+ end
+
def install
+ ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",