diff options
| author | Adam Vandenberg | 2010-11-14 15:16:27 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-12 11:55:05 -0800 |
| commit | 4f07c4d6b2aa36592c7dbd00faabf34ca062936a (patch) | |
| tree | 20a12ed282743fccebe4eb424c12ebd5c2dc8892 /Library/Formula | |
| parent | 28d0d165a7e1117249b301ea1fd717eb11c63d15 (diff) | |
| download | homebrew-4f07c4d6b2aa36592c7dbd00faabf34ca062936a.tar.bz2 | |
Cleanup copying config.*
Diffstat (limited to 'Library/Formula')
| -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}" |
