diff options
| author | David Höppner | 2009-10-03 18:54:32 +0200 |
|---|---|---|
| committer | Max Howell | 2009-10-12 22:51:57 +0100 |
| commit | e551efc517811f99bc3beec20b9c7dd5cee224f6 (patch) | |
| tree | d97332d488e169120d877c0bf0f070b728b6d89e | |
| parent | 1de3128d8c4513d805141d5962b1d7c5ad5b8e1d (diff) | |
| download | homebrew-e551efc517811f99bc3beec20b9c7dd5cee224f6.tar.bz2 | |
Parrot formula: patch more binaries
| -rw-r--r-- | Library/Formula/parrot.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/parrot.rb b/Library/Formula/parrot.rb index 7db15e617..0ca887544 100644 --- a/Library/Formula/parrot.rb +++ b/Library/Formula/parrot.rb @@ -11,8 +11,10 @@ class Parrot <Formula system "perl Configure.pl --prefix=#{prefix} --debugging=0 --without-opengl --cc=#{ENV['CC']}" system "make install" - h = "#{HOMEBREW_PREFIX}/Cellar/parrot/1.6.0/bin/parrot" - l = %x{otool -L #{h}}[/\S*blib\/lib\S*/] - system "install_name_tool -change #{l} #{HOMEBREW_PREFIX}/lib/libparrot.dylib #{h}" + h = "#{HOMEBREW_PREFIX}/Cellar/parrot/1.6.0/bin/" + l = %x{otool -L #{h}parrot}[/\S*blib\/lib\S*/] + %w{parrot parrot_config parrot_debugger}.each do |f| + system "install_name_tool -change #{l} #{HOMEBREW_PREFIX}/lib/libparrot.dylib #{h}#{f}" + end end end |
