aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-10 10:32:35 -0700
committerAdam Vandenberg2010-06-10 10:33:31 -0700
commit47b6f870b81ae73bfbb9c6b79e9a75159c098565 (patch)
treed52f10e9be02465e0ee62ab808b87ad24b644cc3 /Library/Formula
parent1e6e6922bc75579666f3b65b5dfb953ba7ef156d (diff)
downloadhomebrew-47b6f870b81ae73bfbb9c6b79e9a75159c098565.tar.bz2
libplist - remove keg-only by deleting duplicate command
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libplist.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/libplist.rb b/Library/Formula/libplist.rb
index 81d721ada..3d417636a 100644
--- a/Library/Formula/libplist.rb
+++ b/Library/Formula/libplist.rb
@@ -9,14 +9,13 @@ class Libplist <Formula
depends_on 'glib'
depends_on 'libxml2'
- def keg_only?
- "This brew provides libmagic, but also installs a 'file' command which shadows the OS X-provided command."
- end
-
def install
# Disable Python bindings.
inreplace "CMakeLists.txt", 'OPTION(ENABLE_PYTHON "Enable Python bindings (needs Swig)" ON)', '# Disabled Python Bindings'
system "cmake . #{std_cmake_parameters}"
system "make install"
+
+ # Remove 'plutil', which duplicates the system-provided one. Leave the versioned one, though.
+ rm (bin+'plutil')
end
end