aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMartin Williams2014-07-01 16:10:25 +0100
committerJack Nagel2014-07-04 23:23:37 -0500
commit324ae85323666a8fdc6d61a7bf76b9fd4307dbfc (patch)
treefa90887ed3def1a27a33282750f68f1ac7214824 /Library/Formula
parent97cef6041f78e2d8a9dd6f36725ddc056a9b6e2c (diff)
downloadhomebrew-324ae85323666a8fdc6d61a7bf76b9fd4307dbfc.tar.bz2
wine: ENV.libxml2 needed if no CLT
libxml2 support will be compiled into wine if configure finds it. But configure will not find it in an 'XCode only' environment. Adding ENV.libxml2 to the formula appears to resolve the issue satisfactorily. (The formula specifies 'env :std'.) 'wine without libxml2' breaks at least one Windows InstallShield based 'exe style' installer. InstallShield is widely used to develop Windows installer packages, so there are probably many Windows installers that will fail in libxml2's absence. Closes #30591. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wine.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index aa387b4f8..71eb2caeb 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -103,6 +103,9 @@ class Wine < Formula
ENV.append "CFLAGS", build32
ENV.append "LDFLAGS", build32
+ # Help configure find libxml2 in an XCode only (no CLT) installation.
+ ENV.libxml2
+
args = ["--prefix=#{prefix}"]
args << "--disable-win16" if MacOS.version <= :leopard or ENV.compiler == :clang