mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-30 20:49:48 -05:00
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.
This commit is contained in:
1 parent
c1e5cc23c7
commit
fdd8bc996f
1 file changed
+4
-4
@@ -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
|
||||
Reference in new issue
Block a user