Cleanup copying config.*
This commit is contained in:
parent
4fe432f907
commit
82a68b7fab
2 changed files with 7 additions and 3 deletions
|
@ -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", "."
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue