aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2010-10-30 08:21:17 -0700
committerAdam Vandenberg2010-10-30 08:21:17 -0700
commitc861ac8d8f6fa12184254c5b3698b33a5dc5fb56 (patch)
tree36319d4fb8d055e15047dbcb9a7443825505adf4 /Library/Formula
parent61986c13c25d16a73fb4375d0035a02b141c3438 (diff)
downloadhomebrew-c861ac8d8f6fa12184254c5b3698b33a5dc5fb56.tar.bz2
SDL assumes X11, so check for it
Diffstat (limited to 'Library/Formula')
-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 477ef714e..603a9867c 100644
--- a/Library/Formula/sdl.rb
+++ b/Library/Formula/sdl.rb
@@ -17,6 +17,8 @@ class Sdl <Formula
fails_with_llvm
Sdl.use_homebrew_prefix %w[sdl.pc.in sdl-config.in]
+ # Sdl assumes X11 is present on UNIX
+ ENV.x11
system "./autogen.sh" if ARGV.build_head?
system "./configure", "--prefix=#{prefix}", "--disable-nasm"
system "make install"