diff options
| author | Adam Vandenberg | 2012-08-08 22:35:31 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-08 22:35:31 -0700 |
| commit | b27d6483cba1f387be6fc59490cbfc771ffbe113 (patch) | |
| tree | 6e96600a3d83229f79bb269038283f2b26d53c56 /Library | |
| parent | 80c8e7e746d9d248bb4c3e50b9a9d20ee64c710e (diff) | |
| download | homebrew-b27d6483cba1f387be6fc59490cbfc771ffbe113.tar.bz2 | |
gdbm: use options dsl
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gdbm.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/gdbm.rb b/Library/Formula/gdbm.rb index d16a40038..8a66d1cd8 100644 --- a/Library/Formula/gdbm.rb +++ b/Library/Formula/gdbm.rb @@ -6,12 +6,10 @@ 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 + option :universal def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}", |
