Cleanup copying config.*

This commit is contained in:
Adam Vandenberg 2010-11-14 15:16:27 -08:00
parent 4fe432f907
commit 82a68b7fab
2 changed files with 7 additions and 3 deletions

View file

@ -14,9 +14,9 @@ class Recode <Formula
def install
if MACOS_VERSION >= 10.6
libtool_config = "/usr/share/libtool/config"
cp Dir["#{MacOS.xcode_prefix}/usr/share/libtool/config/config.*"], "."
else
libtool_config = "/usr/share/libtool"
cp Dir["#{MacOS.xcode_prefix}/usr/share/libtool/config.*"], "."
end
cp "#{libtool_config}/config.guess", "."

View file

@ -11,7 +11,11 @@ class Tcpflow <Formula
end
def install
cp Dir["#{MacOS.xcode_prefix}/usr/share/libtool/config/config.*"], "."
if MACOS_VERSION >= 10.6
cp Dir["#{MacOS.xcode_prefix}/usr/share/libtool/config/config.*"], "."
else
cp Dir["#{MacOS.xcode_prefix}/usr/share/libtool/config.*"], "."
end
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--mandir=#{man}"