From 5d36b005e9c97d8064eaf828edb0e7ccd8ea3588 Mon Sep 17 00:00:00 2001 From: Harald Fernengel Date: Sun, 14 Jul 2013 19:08:28 +0200 Subject: qt5: fix clash with installed qt. Apparently, passing HOMEBREW_PREFIX as -I and -L makes the Qt5 configure script pick up Qt4 headers. Hotfix it until I find a solution that allows both installing to prefixes different than /usr/local and to prefixes that already contain Qt4. Closes #21211. Signed-off-by: Mike McQuaid --- Library/Formula/qt5.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb index 879b2acb7..2a225e6b7 100644 --- a/Library/Formula/qt5.rb +++ b/Library/Formula/qt5.rb @@ -34,7 +34,6 @@ class Qt5 < Formula ENV.append 'CXXFLAGS', "-I#{MacOS.sdk_path}/System/Library/Frameworks/CoreFoundation.framework/Headers" end - args << "-I#{HOMEBREW_PREFIX}/include" << "-L#{HOMEBREW_PREFIX}/lib" args << "-L#{MacOS::X11.prefix}/lib" << "-I#{MacOS::X11.prefix}/include" if MacOS::X11.installed? args << "-plugin-sql-mysql" if build.with? 'mysql' -- cgit v1.2.3