aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-26 19:46:31 -0500
committerJack Nagel2013-06-26 19:46:31 -0500
commit0617959b7be1343664c94cff98d4c00b8104db2f (patch)
tree43ad78719dec2a8f4691631f4da9af440b769eab /Library
parent69052e3f39551a669625c70c842088a8e086dfa2 (diff)
downloadhomebrew-0617959b7be1343664c94cff98d4c00b8104db2f.tar.bz2
wine: optimistically add freetype workaround for 1.6.x
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wine.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index ef7623ea2..aeaaba77c 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -93,6 +93,11 @@ class Wine < Formula
ENV.libxml2
ENV.append "LDFLAGS", "-lxslt"
+ # As of 1.4 these don't do anything, but under 1.6 they will *possibly*
+ # resolve our issues with conflicting freetype installations
+ ENV['FREETYPE_CFLAGS'] = "-I#{MacOS::X11.include}/freetype2 -I#{MacOS::X11.include}"
+ ENV['FREETYPE_LIBS'] = "-L#{MacOS::X11.lib} -lfreetype"
+
args = %W[--prefix=#{prefix}
--with-coreaudio
--with-opengl