aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNick Gravelyn2014-05-31 20:27:10 -0700
committerMisty De Meo2014-05-31 20:58:34 -0700
commitcdda7fe1e162876428e6d7acdc5820e7803c2013 (patch)
treea49293a67d11fc72482d12b79368f847a1d782b4 /Library/Formula
parent4c61b309c3268afa3c022d2ec4bee729d6b4ee5c (diff)
downloadhomebrew-cdda7fe1e162876428e6d7acdc5820e7803c2013.tar.bz2
SDL_mixer2: add universal option
Matches the other SDL2 libraries. Closes #29741. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sdl2_mixer.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/sdl2_mixer.rb b/Library/Formula/sdl2_mixer.rb
index 77d9b9d9d..2ea75d503 100644
--- a/Library/Formula/sdl2_mixer.rb
+++ b/Library/Formula/sdl2_mixer.rb
@@ -13,7 +13,10 @@ class Sdl2Mixer < Formula
depends_on 'libmikmod' => :optional
depends_on 'libvorbis' => :optional
+ option :universal
+
def install
+ ENV.universal_binary if build.universal?
inreplace 'SDL2_mixer.pc.in', '@prefix@', HOMEBREW_PREFIX
system "./configure", "--prefix=#{prefix}",