diff options
| author | Jack Nagel | 2012-04-16 12:28:06 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2012-04-16 12:28:06 -0500 | 
| commit | 513314f4994b964a9216e067fa848f931e33eedf (patch) | |
| tree | 26b1f70455ba4afe97918af5b7a1d47b3fcf3bbd | |
| parent | 854795904fd583d9dfd24416207b4fddce47e93c (diff) | |
| download | homebrew-513314f4994b964a9216e067fa848f931e33eedf.tar.bz2 | |
sdl_mixer: use inreplace directly
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/sdl_mixer.rb | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/Library/Formula/sdl_mixer.rb b/Library/Formula/sdl_mixer.rb index 80e1bb677..9101b8b79 100644 --- a/Library/Formula/sdl_mixer.rb +++ b/Library/Formula/sdl_mixer.rb @@ -1,5 +1,4 @@  require 'formula' -require Formula.path('sdl')  class SdlMixer < Formula    url 'http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.11.tar.gz' @@ -12,7 +11,7 @@ class SdlMixer < Formula    depends_on 'libvorbis' => :optional    def install -    Sdl.use_homebrew_prefix 'SDL_mixer.pc.in' +    inreplace 'SDL_mixer.pc.in', '@prefix@', HOMEBREW_PREFIX      system "./configure", "--prefix=#{prefix}",                            "--disable-dependency-tracking" | 
