aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAlexis Hildebrandt2011-02-16 11:57:34 +0100
committerDavid Höppner2011-02-16 13:01:24 +0100
commitf8d8817fe27505a76c8052dae10b7bf4ab183300 (patch)
treeafc8561667e0e6e2889cffad6b39220ad7d82eb0 /Library/Formula
parentb9094fe8b4ae868057b3a4e26018e270db9c2322 (diff)
downloadhomebrew-f8d8817fe27505a76c8052dae10b7bf4ab183300.tar.bz2
Update Formula: libplist
Correct install name of dynamic libraries using CMAKE_INSTALL_NAME_DIR cmake variable Signed-off-by: David Höppner <0xffea@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libplist.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/libplist.rb b/Library/Formula/libplist.rb
index 4da9cd164..ce3523a9f 100644
--- a/Library/Formula/libplist.rb
+++ b/Library/Formula/libplist.rb
@@ -13,7 +13,7 @@ class Libplist <Formula
# Disable Python bindings.
inreplace "CMakeLists.txt", 'OPTION(ENABLE_PYTHON "Enable Python bindings (needs Swig)" ON)',
'# Disabled Python Bindings'
- system "cmake . #{std_cmake_parameters}"
+ system "cmake . #{std_cmake_parameters} -DCMAKE_INSTALL_NAME_DIR=#{lib}"
system "make install"
# Remove 'plutil', which duplicates the system-provided one. Leave the versioned one, though.