diff options
| author | Adam Vandenberg | 2010-11-08 21:35:10 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-11-08 21:35:10 -0800 |
| commit | 302be9cd5f0c8f04091ed15470385a7750079630 (patch) | |
| tree | fd3b1986655aaaa100b0e30c55f321c5c0659655 /Library | |
| parent | 3e8ddf997b2d842adf17f9f655607495602fa255 (diff) | |
| download | homebrew-302be9cd5f0c8f04091ed15470385a7750079630.tar.bz2 | |
recode - fix for Leopard
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/recode.rb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Library/Formula/recode.rb b/Library/Formula/recode.rb index 4b799508a..72ae5014e 100644 --- a/Library/Formula/recode.rb +++ b/Library/Formula/recode.rb @@ -13,8 +13,15 @@ class Recode <Formula end def install - cp "/usr/share/libtool/config/config.guess", "." - cp "/usr/share/libtool/config/config.sub", "." + if MACOS_VERSION >= 10.6 + libtool_config = "/usr/share/libtool/config" + else + libtool_config = "/usr/share/libtool" + end + + cp "#{libtool_config}/config.guess", "." + cp "#{libtool_config}/config.sub", "." + system "./configure", "--disable-debug", "--disable-dependency-tracking", "--without-included-gettext", "--prefix=#{prefix}", |
