aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/sdl.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/sdl.rb b/Library/Formula/sdl.rb
index f6f68ad70..477ef714e 100644
--- a/Library/Formula/sdl.rb
+++ b/Library/Formula/sdl.rb
@@ -2,6 +2,7 @@ require 'formula'
class Sdl <Formula
url 'http://www.libsdl.org/release/SDL-1.2.14.tar.gz'
+ head 'http://hg.libsdl.org/SDL', :using => :hg
homepage 'http://www.libsdl.org/'
md5 'e52086d1b508fa0b76c52ee30b55bec4'
@@ -16,6 +17,7 @@ class Sdl <Formula
fails_with_llvm
Sdl.use_homebrew_prefix %w[sdl.pc.in sdl-config.in]
+ system "./autogen.sh" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}", "--disable-nasm"
system "make install"