recode - fix for Leopard

master
Adam Vandenberg 2010-11-08 21:35:10 -08:00
parent 3ba17f4d19
commit bf3dcc98f9
1 changed files with 9 additions and 2 deletions

View File

@ -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}",