diff options
| author | Christian Moritz | 2014-01-17 06:27:35 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-17 14:31:48 +0000 |
| commit | b553e9e400d5126e82343edf6d8afc716f19b1d4 (patch) | |
| tree | ceeb0ceac2cb54807d3af19f14e3b28cb834ee21 /Library/Formula | |
| parent | b880c98182cf55ce2ea7cd087c1f4ed6c3620055 (diff) | |
| download | homebrew-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.rb | 4 |
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", |
