From 106cfdca77c50811cdce4753a244547bb0c8b187 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 25 Feb 2014 20:57:10 -0800 Subject: yara: use Formula[] --- Library/Formula/yara.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Library/Formula') 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", -- cgit v1.2.3