wine: use pkg-config
This commit is contained in:
parent
e17add5db8
commit
a3c67348fe
1 changed files with 1 additions and 5 deletions
|
@ -44,6 +44,7 @@ class Wine < Formula
|
|||
# Wine will build both the Mac and the X11 driver by default, and you can switch
|
||||
# between them. But if you really want to build without X11, you can.
|
||||
depends_on :x11 => :recommended
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'freetype'
|
||||
depends_on 'jpeg'
|
||||
depends_on 'libgphoto2'
|
||||
|
@ -110,11 +111,6 @@ class Wine < Formula
|
|||
EOS
|
||||
end
|
||||
|
||||
# Workarounds for XCode not including pkg-config files
|
||||
# FIXME we include pkg-config files for libxml2 and libxslt. Is this really necessary?
|
||||
ENV.libxml2
|
||||
ENV.append "LDFLAGS", "-lxslt"
|
||||
|
||||
args = ["--prefix=#{prefix}"]
|
||||
args << "--disable-win16" if MacOS.version <= :leopard or ENV.compiler == :clang
|
||||
|
||||
|
|
Loading…
Reference in a new issue