From 5f8798beddea0f10c6b0261002a25ef5e6b8ce71 Mon Sep 17 00:00:00 2001 From: Steven Peters Date: Tue, 26 Mar 2013 22:59:51 -0700 Subject: 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 --- Library/Formula/cppcheck.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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" -- cgit v1.2.3