diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libspotify.rb | 11 | ||||
| -rw-r--r-- | Library/Formula/notmuch.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/v8.rb | 2 |
3 files changed, 4 insertions, 11 deletions
diff --git a/Library/Formula/libspotify.rb b/Library/Formula/libspotify.rb index 649c084a7..5df2b203c 100644 --- a/Library/Formula/libspotify.rb +++ b/Library/Formula/libspotify.rb @@ -12,13 +12,10 @@ class Libspotify < Formula doc.install %w(ChangeLog README LICENSE licenses.xhtml examples) man3.install Dir['man3/*'] - cd lib - ln_s "libspotify.12.1.51.dylib", "libspotify.dylib" - ln_s "libspotify.12.1.51.dylib", "libspotify.12.dylib" - - system "install_name_tool", "-id", - "#{HOMEBREW_PREFIX}/lib/libspotify.12.1.51.dylib", - "libspotify.dylib" + lib.cd do + ln_s "libspotify.12.1.51.dylib", "libspotify.dylib" + ln_s "libspotify.12.1.51.dylib", "libspotify.12.dylib" + end (lib+'pkgconfig/libspotify.pc').write pc_content end diff --git a/Library/Formula/notmuch.rb b/Library/Formula/notmuch.rb index 139bcc9a6..58961c2cd 100644 --- a/Library/Formula/notmuch.rb +++ b/Library/Formula/notmuch.rb @@ -13,7 +13,5 @@ class Notmuch < Formula # requires a newer emacs than OS X provides, so disable the bindings system "./configure", "--prefix=#{prefix}", "--without-emacs" system "make install" - system "install_name_tool", "-change", "libnotmuch.2.dylib", - "#{lib}/libnotmuch.2.dylib", "#{bin}/notmuch" end end diff --git a/Library/Formula/v8.rb b/Library/Formula/v8.rb index 14102ed67..9870eba77 100644 --- a/Library/Formula/v8.rb +++ b/Library/Formula/v8.rb @@ -25,7 +25,5 @@ class V8 < Formula prefix.install 'include' lib.install 'libv8.dylib' bin.install 'shell' => 'v8' - - system "install_name_tool", "-change", "libv8.dylib", "#{lib}/libv8.dylib", "#{bin}/v8" end end |
