From 4562ce41f5dca8b3b4bb6cd385b46e6b5263d926 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 24 Dec 2012 21:38:07 -0600 Subject: sdl: fix conditional --- Library/Formula/sdl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/sdl.rb b/Library/Formula/sdl.rb index 21b8a1781..c18ea59dd 100644 --- a/Library/Formula/sdl.rb +++ b/Library/Formula/sdl.rb @@ -31,7 +31,7 @@ class Sdl < Formula args = %W[--prefix=#{prefix}] args << "--disable-nasm" unless MacOS.version >= :mountain_lion # might work with earlier, might only work with new clang # LLVM-based compilers choke on the assembly code packaged with SDL. - args << '--disable-assembly' if ENV.compiler == :llvm or ENV.compiler == :clang and MacOS.clang_build_version < 421 + args << '--disable-assembly' if ENV.compiler == :llvm or (ENV.compiler == :clang and MacOS.clang_build_version < 421) args << '--without-x' system './configure', *args -- cgit v1.2.3