From 854795904fd583d9dfd24416207b4fddce47e93c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 16 Apr 2012 12:27:54 -0500 Subject: sdl_image: use inreplace directly Signed-off-by: Jack Nagel --- Library/Formula/sdl_image.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Formula/sdl_image.rb b/Library/Formula/sdl_image.rb index 161362b08..6e412c7cf 100644 --- a/Library/Formula/sdl_image.rb +++ b/Library/Formula/sdl_image.rb @@ -1,5 +1,4 @@ require 'formula' -require Formula.path('sdl') class SdlImage < Formula url 'http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.10.tar.gz' @@ -15,7 +14,7 @@ class SdlImage < Formula def install ENV.universal_binary if ARGV.build_universal? ENV.x11 # For Freetype - Sdl.use_homebrew_prefix 'SDL_image.pc.in' + inreplace 'SDL_image.pc.in', '@prefix@', HOMEBREW_PREFIX system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", -- cgit v1.2.3