aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sdl_gfx.rb
diff options
context:
space:
mode:
authorMichal Bendowski2012-03-30 11:01:38 +0200
committerJack Nagel2012-04-15 15:27:03 -0500
commit30d2ffb8f51cd7a0f28e704bfca7f00eec282151 (patch)
treeefe6d6f2c5b606b669f0f46800ee010847872c74 /Library/Formula/sdl_gfx.rb
parent304e4fc2f7ea0896798567e5c9429022a4fb914f (diff)
downloadhomebrew-30d2ffb8f51cd7a0f28e704bfca7f00eec282151.tar.bz2
Enable universal build on some SDL packages
- This allows pygame to run on an universal Python. Closes #11303. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/sdl_gfx.rb')
-rw-r--r--Library/Formula/sdl_gfx.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/sdl_gfx.rb b/Library/Formula/sdl_gfx.rb
index 0bc6e0172..e247ba0d2 100644
--- a/Library/Formula/sdl_gfx.rb
+++ b/Library/Formula/sdl_gfx.rb
@@ -7,7 +7,12 @@ class SdlGfx < Formula
depends_on 'sdl'
+ def options
+ [['--universal', 'Build universal binaries.']]
+ end
+
def install
+ ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-static=no",