From ef46b2d30cf425820946121de985cf9133437f71 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 31 May 2014 20:11:05 -0500 Subject: pam_yubico: modernize autotools deps --- Library/Formula/pam_yubico.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3