From a91e03e18e559bd356ab318c0ae28be468934caf Mon Sep 17 00:00:00 2001 From: Nicolas Wojcik Date: Mon, 20 May 2013 19:50:44 +0200 Subject: libmagic: add option for universal binary Closes #19951. Signed-off-by: Adam Vandenberg --- Library/Formula/libmagic.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library/Formula') 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" -- cgit v1.2.3