diff options
| author | Jack Nagel | 2014-03-12 14:38:54 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-12 14:38:54 -0500 |
| commit | ffcc04f234020efce9f8979fa68bf5428e4c53a9 (patch) | |
| tree | 61f10ad685264248e303bd42d7a4fbc4c118bc7f /Library/Formula/wine.rb | |
| parent | 9e1bbbbdf8f94857c3a59d7295c44d056ea20a6e (diff) | |
| download | homebrew-ffcc04f234020efce9f8979fa68bf5428e4c53a9.tar.bz2 | |
wine: always use Homebrew freetype
Diffstat (limited to 'Library/Formula/wine.rb')
| -rw-r--r-- | Library/Formula/wine.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb index 3d4291e03..1ed2a0440 100644 --- a/Library/Formula/wine.rb +++ b/Library/Formula/wine.rb @@ -40,7 +40,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 'freetype' if build.without? 'x11' + depends_on 'freetype' depends_on 'jpeg' depends_on 'libgphoto2' depends_on 'little-cms2' @@ -118,12 +118,6 @@ class Wine < Formula ENV.libxml2 ENV.append "LDFLAGS", "-lxslt" - # Note: we get freetype from :x11, but if the freetype formula has been installed - # separately and not built universal, it's going to get picked up and break the build. - # We cannot use FREETYPE_LIBS because it is inserted after LDFLAGS and thus cannot - # take precedence over the homebrew freetype. - ENV.prepend "LDFLAGS", "-L#{MacOS::X11.lib}" if build.with? 'x11' - args = ["--prefix=#{prefix}"] args << "--disable-win16" if MacOS.version <= :leopard or ENV.compiler == :clang |
