aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cfengine.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/cfengine.rb b/Library/Formula/cfengine.rb
index 3683a12ea..a93738575 100644
--- a/Library/Formula/cfengine.rb
+++ b/Library/Formula/cfengine.rb
@@ -8,6 +8,11 @@ class Cfengine < Formula
depends_on 'tokyo-cabinet'
depends_on 'pcre'
+ def patches
+ # See https://github.com/cfengine/core/commit/ce2b8abf
+ "https://github.com/cfengine/core/commit/ce2b8abf.patch" if ENV.compiler == :clang
+ end
+
def install
# Find our libpcre
ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"