SDL assumes X11, so check for it
This commit is contained in:
parent
d08417416c
commit
6c216d5767
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ class Sdl <Formula
|
||||||
fails_with_llvm
|
fails_with_llvm
|
||||||
Sdl.use_homebrew_prefix %w[sdl.pc.in sdl-config.in]
|
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 "./autogen.sh" if ARGV.build_head?
|
||||||
system "./configure", "--prefix=#{prefix}", "--disable-nasm"
|
system "./configure", "--prefix=#{prefix}", "--disable-nasm"
|
||||||
system "make install"
|
system "make install"
|
||||||
|
|
Loading…
Reference in a new issue