diff options
| author | Mike McQuaid | 2013-01-27 22:38:37 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-01-30 21:29:20 -0800 |
| commit | 7ce82d380a5c1cf88ac95f47952741d582a88062 (patch) | |
| tree | 8dbf2e8d2e4feaebc2f1864a81263ac4d081f1cb /Library/Formula | |
| parent | 2ef43eddf84ca1b758dedfc65c99c23249a8a879 (diff) | |
| download | homebrew-7ce82d380a5c1cf88ac95f47952741d582a88062.tar.bz2 | |
libtool: general cleanup and improve test.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libtool.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/libtool.rb b/Library/Formula/libtool.rb index f6158b91b..25e95272c 100644 --- a/Library/Formula/libtool.rb +++ b/Library/Formula/libtool.rb @@ -1,7 +1,7 @@ require 'formula' -# Xcode 4.3 provides the Apple libtool -# This is not the same, but as a result we must install these as glibtool etc. +# Xcode 4.3 provides the Apple libtool. +# This is not the same so as a result we must install this as glibtool. class Libtool < Formula homepage 'http://www.gnu.org/software/libtool/' @@ -10,7 +10,7 @@ class Libtool < Formula sha1 '22b71a8b5ce3ad86e1094e7285981cae10e6ff88' if MacOS::Xcode.provides_autotools? or File.file? "/usr/bin/glibtoolize" - keg_only "Xcode (up to and including 4.2) provides (a rather old) Libtool." + keg_only "Xcode 4.2 and below provide glibtool." end option :universal @@ -30,7 +30,7 @@ class Libtool < Formula EOS end - def test - system "#{bin}/glibtoolize", "--version" + test do + system "#{bin}/glibtool", 'execute', '/usr/bin/true' end end |
