From a9ab7f11cd75fca0c77b6269744f4ac4d4eace5c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 12 Aug 2012 12:56:27 -0500 Subject: [PATCH] libtool: use options DSL Signed-off-by: Jack Nagel --- Formula/libtool.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Formula/libtool.rb b/Formula/libtool.rb index 160412e1cb..f6158b91b5 100644 --- a/Formula/libtool.rb +++ b/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",