aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libmagic.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/libmagic.rb b/Library/Formula/libmagic.rb
index 05100f3bc..af7ca9b34 100644
--- a/Library/Formula/libmagic.rb
+++ b/Library/Formula/libmagic.rb
@@ -6,11 +6,15 @@ class Libmagic < Formula
mirror 'http://fossies.org/unix/misc/file-5.14.tar.gz'
sha1 '064c8f17a5f7ae1e336a9285131e046d3b2d04d7'
+ option :universal
+
# Fixed upstream, should be in next release
# See http://bugs.gw.com/view.php?id=230
def patches; DATA; end if MacOS.version < :lion
def install
+ ENV.universal_binary if build.universal?
+
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-fsect-man5"