diff options
| author | Brett Koonce | 2014-10-26 19:31:23 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-27 07:55:59 +0000 |
| commit | 85f2032f825c1f76137309e58361bcbc13a14ee2 (patch) | |
| tree | ad29f79c28dbf123111f6f73d516ad13c28c6978 | |
| parent | afab5292acc2158f3c9af698f1343acbecb0ebe6 (diff) | |
| download | homebrew-85f2032f825c1f76137309e58361bcbc13a14ee2.tar.bz2 | |
cppcheck: make sure /cfg/ is installed
Fixes #33583.
| -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: |
