diff options
| author | Brett Koonce | 2014-03-25 08:17:31 -0500 |
|---|---|---|
| committer | Brett Koonce | 2014-03-27 09:17:56 -0500 |
| commit | 7ddb7a43416d0f0ad6501c685dd9b927ac06ea70 (patch) | |
| tree | 1d5cbee5c805f2dc62c9fe003512da13e63a87c2 /Library/Formula | |
| parent | 6196954c99784947a5c5f6d8a427847d9bc71f94 (diff) | |
| download | homebrew-7ddb7a43416d0f0ad6501c685dd9b927ac06ea70.tar.bz2 | |
cppcheck: fix --with-gui option not finding cfg
Closes #27756.
Closes #27852.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cppcheck.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/cppcheck.rb b/Library/Formula/cppcheck.rb index c72a5192e..be552c01a 100644 --- a/Library/Formula/cppcheck.rb +++ b/Library/Formula/cppcheck.rb @@ -28,6 +28,10 @@ class Cppcheck < Formula if build.with? "gui" cd "gui" do + # fix make not finding cfg directory: + # https://github.com/Homebrew/homebrew/issues/27756 + inreplace "gui.qrc", "../cfg/", "#{prefix}/cfg/" + if build.include? 'no-rules' system "qmake", "HAVE_RULES=no" else |
