SDL assumes X11, so check for it

This commit is contained in:
Adam Vandenberg 2010-10-30 08:21:17 -07:00
parent d08417416c
commit 6c216d5767

View file

@ -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"