From fdd8bc996fc7ac72774eeee097fc55bf07cde5eb Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 2 Sep 2011 12:31:58 +0100 Subject: Don't keg-only libmagic, just delete the 'file' tool This is libmagic, nobody wants the file command. If they do, they can make a new formula. Though in that case it would be a dupe and we wouldn't want it. Fixes #7280.--- Library/Formula/libmagic.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/libmagic.rb b/Library/Formula/libmagic.rb index 5e69d3fb3..33252b30c 100644 --- a/Library/Formula/libmagic.rb +++ b/Library/Formula/libmagic.rb @@ -5,14 +5,14 @@ class Libmagic < Formula homepage 'http://www.darwinsys.com/file/' md5 'accade81ff1cc774904b47c72c8aeea0' - keg_only <<-KEG.undent - This brew provides 'libmagic', but also installs a 'file' command which shadows the OS X-provided one. - KEG - def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" system "make" ENV.j1 # Remove some warnings during install system "make install" + + # don't dupe this system utility and this formula is called "libmagic" not "file" + rm bin/"file" + rm man1/"file.1" end end -- cgit v1.2.3