aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pam_yubico.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/pam_yubico.rb b/Library/Formula/pam_yubico.rb
index a68c48941..0c4539b20 100644
--- a/Library/Formula/pam_yubico.rb
+++ b/Library/Formula/pam_yubico.rb
@@ -8,9 +8,9 @@ class PamYubico < Formula
option :universal
depends_on "pkg-config" => :build
- depends_on :autoconf
- depends_on :automake
- depends_on :libtool
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ depends_on "libtool" => :build
depends_on "libyubikey"
depends_on "ykclient"
depends_on "ykpers"
@@ -18,10 +18,10 @@ class PamYubico < Formula
def install
ENV.universal_binary if build.universal?
- system "autoreconf -vfi"
+ system "autoreconf", "-fvi"
system "./configure", "--prefix=#{prefix}",
- "--with-libyubikey-prefix=#{HOMEBREW_PREFIX}",
- "--with-libykclient-prefix=#{HOMEBREW_PREFIX}"
+ "--with-libyubikey-prefix=#{Formula["libyubikey"].opt_prefix}",
+ "--with-libykclient-prefix=#{Formula["ykclient"].opt_prefix}"
system "make install"
end
end