diff options
| author | Steven Peters | 2013-03-26 22:59:51 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-03-27 09:02:58 -0700 |
| commit | 5f8798beddea0f10c6b0261002a25ef5e6b8ce71 (patch) | |
| tree | 86e81bf52ac07107571249f873867dd2399a615d /Library/Formula | |
| parent | dd50df2018f4b50fc6d3b8b82d44d08e8d45acb9 (diff) | |
| download | homebrew-5f8798beddea0f10c6b0261002a25ef5e6b8ce71.tar.bz2 | |
cppcheck: Fix build with custom rules
The HAVE_RULES variable is used to control whether cppcheck is built
with support for custom rules. The readme says to use HAVE_RULES=yes
to enable custom rules.
Closes #18763.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cppcheck.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/cppcheck.rb b/Library/Formula/cppcheck.rb index 42b26fe75..a665369f4 100644 --- a/Library/Formula/cppcheck.rb +++ b/Library/Formula/cppcheck.rb @@ -20,7 +20,7 @@ class Cppcheck < Formula if build.include? 'no-rules' system "make", "HAVE_RULES=no" else - system "make" + system "make", "HAVE_RULES=yes" end system "make", "DESTDIR=#{prefix}", "BIN=#{bin}", "install" |
