From fcffa254832e3febd256c7d956a98ef421d353fd Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 25 Feb 2014 06:29:33 -0800 Subject: gnupg2: use Formula[] --- Library/Formula/gnupg2.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Formula/gnupg2.rb b/Library/Formula/gnupg2.rb index ce3f09c6c..f4c3e0d9f 100644 --- a/Library/Formula/gnupg2.rb +++ b/Library/Formula/gnupg2.rb @@ -35,7 +35,7 @@ class Gnupg2 < Formula ENV['gl_cv_absolute_stdint_h'] = "#{MacOS.sdk_path}/usr/include/stdint.h" - agent = Formula.factory("gpg-agent").opt_prefix + agent = Formula["gpg-agent"].opt_prefix args = %W[ --disable-dependency-tracking @@ -48,7 +48,7 @@ class Gnupg2 < Formula ] if build.with? 'readline' - args << "--with-readline=#{Formula.factory('readline').opt_prefix}" + args << "--with-readline=#{Formula["readline"].opt_prefix}" end system "./configure", *args -- cgit v1.2.3