diff options
| author | Max Howell | 2011-09-02 12:31:58 +0100 |
|---|---|---|
| committer | Max Howell | 2011-09-02 12:31:58 +0100 |
| commit | fdd8bc996fc7ac72774eeee097fc55bf07cde5eb (patch) | |
| tree | 0941e5ee577a10d92a41e40f5edf21510658789a /Library/Formula | |
| parent | c1e5cc23c7f85deabd744c78261a7f7a85c83643 (diff) | |
| download | homebrew-fdd8bc996fc7ac72774eeee097fc55bf07cde5eb.tar.bz2 | |
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.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libmagic.rb | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
