aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 20:57:10 -0800
committerAdam Vandenberg2014-02-27 08:21:20 -0800
commit106cfdca77c50811cdce4753a244547bb0c8b187 (patch)
treed3e6d82100d35520ea7d5cffcbed1c4053b3bde9 /Library/Formula
parent1eecc7bbb7f3596d608a91125ad465b3962dfe00 (diff)
downloadhomebrew-106cfdca77c50811cdce4753a244547bb0c8b187.tar.bz2
yara: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/yara.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/yara.rb b/Library/Formula/yara.rb
index dac1c4556..e04e2c5fa 100644
--- a/Library/Formula/yara.rb
+++ b/Library/Formula/yara.rb
@@ -12,8 +12,7 @@ class Yara < Formula
ENV.append 'CFLAGS', '-std=gnu89' if ENV.compiler == :clang
# find Homebrew's libpcre
- ENV.append 'LDFLAGS',
- "-L#{Formula.factory('pcre').opt_prefix}/lib -lpcre"
+ ENV.append 'LDFLAGS', "-L#{Formula["pcre"].opt_prefix}/lib -lpcre"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",