libgcrypt: make universal optional

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2013-01-26 11:57:14 -06:00
parent aaf01e2767
commit e89df333f3

View file

@ -7,6 +7,8 @@ class Libgcrypt < Formula
depends_on 'libgpg-error'
option :universal
def patches
if ENV.compiler == :clang
{:p0 =>
@ -21,7 +23,7 @@ class Libgcrypt < Formula
end
def install
ENV.universal_binary
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",