diff options
| author | Jack Nagel | 2012-08-12 12:56:27 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-12 13:00:48 -0500 |
| commit | 21cc182c2aac12cf0e00a2a4c518357f760033c7 (patch) | |
| tree | 418a840eb0510b966e9f7db7c89961bfcb420b64 /Library/Formula/libtool.rb | |
| parent | 97412254c7cebcbe356127b54d6eef4d9de95e64 (diff) | |
| download | homebrew-21cc182c2aac12cf0e00a2a4c518357f760033c7.tar.bz2 | |
libtool: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/libtool.rb')
| -rw-r--r-- | Library/Formula/libtool.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/libtool.rb b/Library/Formula/libtool.rb index 160412e1c..f6158b91b 100644 --- a/Library/Formula/libtool.rb +++ b/Library/Formula/libtool.rb @@ -13,12 +13,10 @@ class Libtool < Formula keg_only "Xcode (up to and including 4.2) provides (a rather old) Libtool." end - def options - [["--universal", "Builds 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}", "--program-prefix=g", |
