diff options
| author | Adam Vandenberg | 2014-02-25 20:57:10 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:20 -0800 |
| commit | 106cfdca77c50811cdce4753a244547bb0c8b187 (patch) | |
| tree | d3e6d82100d35520ea7d5cffcbed1c4053b3bde9 /Library | |
| parent | 1eecc7bbb7f3596d608a91125ad465b3962dfe00 (diff) | |
| download | homebrew-106cfdca77c50811cdce4753a244547bb0c8b187.tar.bz2 | |
yara: use Formula[]
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/yara.rb | 3 |
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", |
