aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Koonce2014-10-26 19:31:23 -0700
committerMike McQuaid2014-10-27 07:55:59 +0000
commit85f2032f825c1f76137309e58361bcbc13a14ee2 (patch)
treead29f79c28dbf123111f6f73d516ad13c28c6978
parentafab5292acc2158f3c9af698f1343acbecb0ebe6 (diff)
downloadhomebrew-85f2032f825c1f76137309e58361bcbc13a14ee2.tar.bz2
cppcheck: make sure /cfg/ is installed
Fixes #33583.
-rw-r--r--Library/Formula/cppcheck.rb4
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: