recode - fix for Leopard

This commit is contained in:
Adam Vandenberg 2010-11-08 21:35:10 -08:00
parent 3ba17f4d19
commit bf3dcc98f9

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