diff options
| author | Adam Vandenberg | 2012-08-09 07:10:39 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-09 07:11:24 -0700 |
| commit | b9671d0b9c62ca07f919ed2860137178b3969342 (patch) | |
| tree | 7c70674abd1c2c6d84443b6a0bd830ce1eace0cc /Library/Formula | |
| parent | 7971d601749cfbcd0192d0e1ba9b3dce4dd1a7fb (diff) | |
| download | homebrew-b9671d0b9c62ca07f919ed2860137178b3969342.tar.bz2 | |
Update copy_libtool_files
Fixes #14075.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/recode.rb | 7 | ||||
| -rw-r--r-- | Library/Formula/tcpflow.rb | 4 | ||||
| -rw-r--r-- | Library/Formula/trafshow.rb | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/Library/Formula/recode.rb b/Library/Formula/recode.rb index f4cc83b64..9e1d13f79 100644 --- a/Library/Formula/recode.rb +++ b/Library/Formula/recode.rb @@ -15,7 +15,7 @@ class Recode < Formula end def copy_libtool_files! - if MacOS::Xcode.version >= "4.3" + if not MacOS::Xcode.provides_autotools? s = Formula.factory('libtool').share d = "#{s}/libtool/config" cp ["#{d}/config.guess", "#{d}/config.sub"], "." @@ -31,10 +31,11 @@ class Recode < Formula copy_libtool_files! - system "./configure", "--disable-debug", "--disable-dependency-tracking", + system "./configure", "--disable-debug", + "--disable-dependency-tracking", "--without-included-gettext", - "--infodir=#{info}", "--prefix=#{prefix}", + "--infodir=#{info}", "--mandir=#{man}" system "make install" end diff --git a/Library/Formula/tcpflow.rb b/Library/Formula/tcpflow.rb index c0eca3306..5867e0b46 100644 --- a/Library/Formula/tcpflow.rb +++ b/Library/Formula/tcpflow.rb @@ -5,8 +5,10 @@ class Tcpflow < Formula url 'https://github.com/downloads/simsong/tcpflow/tcpflow-1.2.7.tar.gz' sha1 'e7e71a34afb4d557ebe80e2d589f00d4afd38be4' + depends_on :libtool + def copy_libtool_files! - if MacOS::Xcode.version >= "4.3" + if not MacOS::Xcode.provides_autotools? s = Formula.factory('libtool').share d = "#{s}/libtool/config" cp ["#{d}/config.guess", "#{d}/config.sub"], "." diff --git a/Library/Formula/trafshow.rb b/Library/Formula/trafshow.rb index 92fd3d1ec..f65b4dbd8 100644 --- a/Library/Formula/trafshow.rb +++ b/Library/Formula/trafshow.rb @@ -16,7 +16,7 @@ class Trafshow < Formula end def copy_libtool_files! - if MacOS.xcode_version >= "4.3" + if not MacOS::Xcode.provides_autotools? s = Formula.factory('libtool').share d = "#{s}/libtool/config" cp ["#{d}/config.guess", "#{d}/config.sub"], "." |
