From 3fd2d6d04542e5d51cc3d492e3fa1af090e26396 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sun, 25 Aug 2013 11:04:01 -0700 Subject: freeglut: add universal option As requested in: http://librelist.com/browser//homebrew/2013/8/25/how-do-i-request-a-modfication-to-a-formula/ --- Library/Formula/freeglut.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library') diff --git a/Library/Formula/freeglut.rb b/Library/Formula/freeglut.rb index e34ff5aea..10fdda7a9 100644 --- a/Library/Formula/freeglut.rb +++ b/Library/Formula/freeglut.rb @@ -8,6 +8,7 @@ class Freeglut < Formula # Examples won't build on Snow Leopard as one of them requires # a header the system provided X11 doesn't have. option 'with-examples', "Build the examples." + option :universal depends_on :x11 @@ -16,6 +17,7 @@ class Freeglut < Formula end def install + ENV.universal_binary if build.universal? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" -- cgit v1.2.3