From 2c325574d7857123833fbf97679333a836372dfe Mon Sep 17 00:00:00 2001 From: Eric Butler Date: Sun, 18 Aug 2013 14:45:50 -0700 Subject: [PATCH] wine: fix building without x11 Closes Homebrew/homebrew#21986. Signed-off-by: Adam Vandenberg --- Formula/wine.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/wine.rb b/Formula/wine.rb index 92858ff01c..4a92c85e10 100644 --- a/Formula/wine.rb +++ b/Formula/wine.rb @@ -111,6 +111,8 @@ class Wine < Formula # 64-bit builds of mpg123 are incompatible with 32-bit builds of Wine args << "--without-mpg123" if Hardware.is_64_bit? + args << "--without-x" if build.without? 'x11' + system "./configure", *args unless ENV.compiler == :clang or ENV.compiler == :llvm