From 324ae85323666a8fdc6d61a7bf76b9fd4307dbfc Mon Sep 17 00:00:00 2001 From: Martin Williams Date: Tue, 1 Jul 2014 16:10:25 +0100 Subject: 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 --- Library/Formula/wine.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3