aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 06:29:33 -0800
committerAdam Vandenberg2014-02-27 08:21:19 -0800
commitfcffa254832e3febd256c7d956a98ef421d353fd (patch)
tree10b5f0caf36124cf9daa4080dcab84e451848c94
parent415472846962cf904041fdba0d69b7e56a6b3097 (diff)
downloadhomebrew-fcffa254832e3febd256c7d956a98ef421d353fd.tar.bz2
gnupg2: use Formula[]
-rw-r--r--Library/Formula/gnupg2.rb4
1 files changed, 2 insertions, 2 deletions
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