diff options
| -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 486cd3b2a..4c8f106ec 100644 --- a/Library/Formula/cppcheck.rb +++ b/Library/Formula/cppcheck.rb @@ -4,6 +4,7 @@ class Cppcheck < Formula homepage "http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page" url "https://github.com/danmar/cppcheck/archive/1.67.tar.gz" sha1 "14b886e5cac631cec11a3f8efbdeaed15ddcc7d3" + revision 1 head "https://github.com/danmar/cppcheck.git" @@ -31,6 +32,9 @@ class Cppcheck < Formula system "make", "DESTDIR=#{prefix}", "BIN=#{bin}", "CFGDIR=#{prefix}/cfg", "install" + # make sure cppcheck can find its configure directory, #26194 + prefix.install "cfg" + if build.with? "gui" cd "gui" do # fix make not finding cfg directory: |
