From 0617959b7be1343664c94cff98d4c00b8104db2f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 26 Jun 2013 19:46:31 -0500 Subject: [PATCH] wine: optimistically add freetype workaround for 1.6.x --- Library/Formula/wine.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb index ef7623ea2636..aeaaba77c26b 100644 --- a/Library/Formula/wine.rb +++ b/Library/Formula/wine.rb @@ -93,6 +93,11 @@ def install 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