diff options
| author | Jack Nagel | 2012-05-14 22:06:58 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-05-14 22:06:58 -0500 |
| commit | a8d228d1ae2146e14de61d070fdcced858da96c5 (patch) | |
| tree | d164495a9bcd0e37e8d1331cfa81a36afa83fad6 /Library/Formula | |
| parent | fb6f1477a987479ded3e9a2a6c88b82a2f00146d (diff) | |
| download | homebrew-a8d228d1ae2146e14de61d070fdcced858da96c5.tar.bz2 | |
cfengine: fix compilation with (older?) clang
This patch comes directly from upstream, so presumably it will be
obsoleted by the next release.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cfengine.rb | 5 |
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" |
