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 Homebrew/homebrew#30591.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Martin Williams 2014-07-01 16:10:25 +01:00 committed by Jack Nagel
parent efcc2dd4b2
commit 81ef7c4f6f

View file

@ -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