aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorChristian Moritz2014-01-17 06:27:35 +0100
committerMike McQuaid2014-01-17 14:31:48 +0000
commitb553e9e400d5126e82343edf6d8afc716f19b1d4 (patch)
treeceeb0ceac2cb54807d3af19f14e3b28cb834ee21 /Library/Formula
parentb880c98182cf55ce2ea7cd087c1f4ed6c3620055 (diff)
downloadhomebrew-b553e9e400d5126e82343edf6d8afc716f19b1d4.tar.bz2
qt5: fix macdeployqt plugins path.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qt5.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/qt5.rb b/Library/Formula/qt5.rb
index 1b4ff53c3..9ca07718b 100644
--- a/Library/Formula/qt5.rb
+++ b/Library/Formula/qt5.rb
@@ -45,6 +45,10 @@ class Qt5 < Formula
odie 'qt5: --with-debug-and-release is no longer supported' if build.include? 'with-debug-and-release'
def install
+ # fixed hardcoded link to plugin dir: https://bugreports.qt-project.org/browse/QTBUG-29188
+ inreplace "qttools/src/macdeployqt/macdeployqt/main.cpp", "deploymentInfo.pluginPath = \"/Developer/Applications/Qt/plugins\";",
+ "deploymentInfo.pluginPath = \"#{prefix}/plugins\";"
+
ENV.universal_binary if build.universal?
args = ["-prefix", prefix,
"-system-zlib",