diff options
| author | Jack Nagel | 2014-05-31 20:11:05 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-31 20:11:05 -0500 |
| commit | ef46b2d30cf425820946121de985cf9133437f71 (patch) | |
| tree | a51c31d1b317a7ecd7c77b977c8cdea5147bbbf7 /Library/Formula | |
| parent | ba69c53aca994b9d588a2b2442767d8de2875ae3 (diff) | |
| download | homebrew-ef46b2d30cf425820946121de985cf9133437f71.tar.bz2 | |
pam_yubico: modernize autotools deps
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pam_yubico.rb | 12 |
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 |
