From 21cc182c2aac12cf0e00a2a4c518357f760033c7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 12 Aug 2012 12:56:27 -0500 Subject: libtool: use options DSL Signed-off-by: Jack Nagel --- Library/Formula/libtool.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library/Formula') 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", -- cgit v1.2.3