recode - fix for Leopard
This commit is contained in:
parent
3ba17f4d19
commit
bf3dcc98f9
1 changed files with 9 additions and 2 deletions
|
@ -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}",
|
||||
|
|
Loading…
Reference in a new issue