aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorEric Butler2013-08-18 14:45:50 -0700
committerAdam Vandenberg2013-08-30 11:02:21 -0700
commit259e37f25fd304aa7152a9b9c4adb8fe3ea8ba32 (patch)
tree2eb4ff3d0477c60a8d430b483010f3427beff386 /Library/Formula
parent7d9b020360952575f2557974e635312e9cfe483f (diff)
downloadhomebrew-259e37f25fd304aa7152a9b9c4adb8fe3ea8ba32.tar.bz2
wine: fix building without x11
Closes #21986. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wine.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index 92858ff01..4a92c85e1 100644
--- a/Library/Formula/wine.rb
+++ b/Library/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