aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorKrzysztof Wilczynski2014-02-25 15:39:33 +0000
committerMike McQuaid2014-02-25 17:04:42 +0000
commiteeaa5595b9540defe3b2c3ae9e6a3d183191ffe0 (patch)
tree6e2fc54fc1fc247c2a103a3dda3f7d839d7839f1 /Library
parentfef8f4308919915ae2bedfc237b5ee9ab6227429 (diff)
downloadhomebrew-eeaa5595b9540defe3b2c3ae9e6a3d183191ffe0.tar.bz2
libmagic: fix reported version.
This concerns: http://bugs.gw.com/view.php?id=330 Closes #26995. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libmagic.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/libmagic.rb b/Library/Formula/libmagic.rb
index 097540912..325bbf48c 100644
--- a/Library/Formula/libmagic.rb
+++ b/Library/Formula/libmagic.rb
@@ -26,6 +26,9 @@ class Libmagic < Formula
def install
ENV.universal_binary if build.universal?
+ # Clean up "src/magic.h" as per http://bugs.gw.com/view.php?id=330
+ rm "src/magic.h"
+
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-fsect-man5"