From 1f2df6b8a0af6b70d0ef464a6044d3e7c6d1f2a5 Mon Sep 17 00:00:00 2001 From: David Holm Date: Sat, 22 Jun 2013 14:32:45 +0200 Subject: gd: add universal option Required for libgphoto2 --universal. Signed-off-by: Jack Nagel --- Library/Formula/gd.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/gd.rb b/Library/Formula/gd.rb index 920ec1def..c432e96e6 100644 --- a/Library/Formula/gd.rb +++ b/Library/Formula/gd.rb @@ -10,6 +10,8 @@ class Gd < Formula head 'https://bitbucket.org/libgd/gd-libgd', :using => :hg + option :universal + depends_on :libpng => :recommended depends_on 'jpeg' => :recommended depends_on 'giflib' => :optional @@ -21,6 +23,7 @@ class Gd < Formula end def install + ENV.universal_binary if build.universal? args = ["--prefix=#{prefix}"] args << "--without-freetype" unless build.with? 'freetype' system "./configure", *args -- cgit v1.2.3