Skip to content

Instantly share code, notes, and snippets.

@codebutler
Created July 24, 2013 06:17
Show Gist options
  • Select an option

  • Save codebutler/6068412 to your computer and use it in GitHub Desktop.

Select an option

Save codebutler/6068412 to your computer and use it in GitHub Desktop.
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index 69990e7..442b8c0 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -90,6 +90,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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment