diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/recode.rb | 4 | ||||
| -rw-r--r-- | Library/Formula/tcpflow.rb | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/Library/Formula/recode.rb b/Library/Formula/recode.rb index 663148c6b..dbd2e7234 100644 --- a/Library/Formula/recode.rb +++ b/Library/Formula/recode.rb @@ -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", "." diff --git a/Library/Formula/tcpflow.rb b/Library/Formula/tcpflow.rb index 30eae9c42..8683d8fc9 100644 --- a/Library/Formula/tcpflow.rb +++ b/Library/Formula/tcpflow.rb @@ -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}" |
