diff options
| author | Jack Nagel | 2012-08-12 12:56:55 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-12 13:01:00 -0500 |
| commit | 68a475ded18c023058ecac9a8640d4ea73daec18 (patch) | |
| tree | f4281cce6da712ed678ede32537d577a7fc3da06 /Library/Formula/libzzip.rb | |
| parent | d5ced2ea39d4623455f9c76a97d25e0d6e816fc7 (diff) | |
| download | homebrew-68a475ded18c023058ecac9a8640d4ea73daec18.tar.bz2 | |
libzzip: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/libzzip.rb')
| -rw-r--r-- | Library/Formula/libzzip.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/libzzip.rb b/Library/Formula/libzzip.rb index 8816bfe76..e35fc5465 100644 --- a/Library/Formula/libzzip.rb +++ b/Library/Formula/libzzip.rb @@ -7,12 +7,10 @@ class Libzzip < Formula depends_on 'pkg-config' => :build - def options - [[ '--universal', 'Build a universal binary' ]] - end + option :universal def install - if ARGV.build_universal? + if build.universal? ENV.universal_binary # See: https://sourceforge.net/tracker/?func=detail&aid=3511669&group_id=6389&atid=356389 ENV["ac_cv_sizeof_long"] = "(LONG_BIT/8)" |
