diff options
| author | Alex Mayfield | 2013-10-23 01:53:56 -0400 | 
|---|---|---|
| committer | Mike McQuaid | 2013-10-23 11:59:18 +0100 | 
| commit | 62dd12ff7ed7be053d516a16a011bc4d7e31a7d2 (patch) | |
| tree | bdd76100f8b3002c763191cd8165c9adadd3ed40 | |
| parent | 225ca703b701ae8709cdd82ac5f1e575bbe4ff9a (diff) | |
| download | homebrew-62dd12ff7ed7be053d516a16a011bc4d7e31a7d2.tar.bz2 | |
sdl_mixer: add universal option.
Closes #23461.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/sdl_mixer.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/Library/Formula/sdl_mixer.rb b/Library/Formula/sdl_mixer.rb index 73f3eb70d..83be6c0c2 100644 --- a/Library/Formula/sdl_mixer.rb +++ b/Library/Formula/sdl_mixer.rb @@ -5,6 +5,8 @@ class SdlMixer < Formula    url 'http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz'    sha1 'a20fa96470ad9e1052f1957b77ffa68fb090b384' +  option :universal +    depends_on 'pkg-config' => :build    depends_on 'sdl'    depends_on 'flac' => :optional @@ -14,6 +16,8 @@ class SdlMixer < Formula    def install      inreplace 'SDL_mixer.pc.in', '@prefix@', HOMEBREW_PREFIX +    ENV.universal_binary if build.universal? +      system "./configure", "--prefix=#{prefix}",                            "--disable-dependency-tracking"      system "make install" | 
