aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-07 17:18:50 -0700
committerAdam Vandenberg2013-06-07 20:57:59 -0700
commitf296d845f36b05735f5043168b4b22e669aa5ed6 (patch)
treecceed2d0d2ccecb5e60b0f5ff3bc7f3c77f4dc9c /Library/Formula
parenteec09f63d2d434405e004b8b0d477e1b87da7a39 (diff)
downloadhomebrew-f296d845f36b05735f5043168b4b22e669aa5ed6.tar.bz2
cfengine: use opt_prefix for pcre
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cfengine.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/cfengine.rb b/Library/Formula/cfengine.rb
index 9b8558d7e..a8abdf554 100644
--- a/Library/Formula/cfengine.rb
+++ b/Library/Formula/cfengine.rb
@@ -5,12 +5,12 @@ class Cfengine < Formula
url 'https://cfengine.com/source-code/download?file=cfengine-3.4.4.tar.gz'
sha1 'f99174fcb358a263b1a1090668d7ba2ba849bbc1'
- depends_on 'tokyo-cabinet'
depends_on 'pcre'
+ depends_on 'tokyo-cabinet'
def install
# Find our libpcre
- ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib"
+ ENV.append 'LDFLAGS', "-L#{Formula.factory('pcre').opt_prefix}/lib"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",