aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2012-09-04 10:49:14 -0500
committerJack Nagel2012-09-04 13:02:43 -0500
commitbb7fcab9d65e5ddec8554cb061af6dc873fc5c93 (patch)
tree5dd3e0b5a82edd4d2452895bdb1020c1d0599b78 /Library/Formula
parent3e0cabb455cbd3c1de0a344d18de19ad8a28aeb6 (diff)
downloadhomebrew-bb7fcab9d65e5ddec8554cb061af6dc873fc5c93.tar.bz2
Fix bad install names in executables
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libspotify.rb11
-rw-r--r--Library/Formula/notmuch.rb2
-rw-r--r--Library/Formula/v8.rb2
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