diff options
| author | Martin Williams | 2014-07-01 16:10:25 +0100 |
|---|---|---|
| committer | Jack Nagel | 2014-07-04 23:23:37 -0500 |
| commit | 324ae85323666a8fdc6d61a7bf76b9fd4307dbfc (patch) | |
| tree | fa90887ed3def1a27a33282750f68f1ac7214824 /Library/Formula | |
| parent | 97cef6041f78e2d8a9dd6f36725ddc056a9b6e2c (diff) | |
| download | homebrew-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.rb | 3 |
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 |
