aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-25 20:56:23 -0800
committerAdam Vandenberg2014-02-27 08:21:20 -0800
commit1eecc7bbb7f3596d608a91125ad465b3962dfe00 (patch)
tree8d06eba301c2c3b2cf855027b4d6b693f52fe2ba /Library/Formula
parent167f1444739787cd967f0bf3ea8576cbac25df4f (diff)
downloadhomebrew-1eecc7bbb7f3596d608a91125ad465b3962dfe00.tar.bz2
ykpers: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ykpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/ykpers.rb b/Library/Formula/ykpers.rb
index b43494445..63cb8bd0e 100644
--- a/Library/Formula/ykpers.rb
+++ b/Library/Formula/ykpers.rb
@@ -10,7 +10,7 @@ class Ykpers < Formula
depends_on 'pkg-config' => :build
def install
- libyubikey_prefix = Formula.factory('libyubikey').opt_prefix
+ libyubikey_prefix = Formula["libyubikey"].opt_prefix
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-libyubikey-prefix=#{libyubikey_prefix}",