aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pam_yubico.rb
diff options
context:
space:
mode:
authorStuart Glenn2014-03-21 13:40:23 -0500
committerJack Nagel2014-03-31 12:50:56 -0500
commite25ada075d6e2b0e4d4410f81ad3105ca8327c8c (patch)
treeac8754150e257c297ee2d75d3caad3e554ad0243 /Library/Formula/pam_yubico.rb
parent25b3059cc7ddbf925d394906753e2fa7dc93f421 (diff)
downloadhomebrew-e25ada075d6e2b0e4d4410f81ad3105ca8327c8c.tar.bz2
Add universal option to pam_yubico and its dependencies
Closes #27766. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/pam_yubico.rb')
-rw-r--r--Library/Formula/pam_yubico.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/pam_yubico.rb b/Library/Formula/pam_yubico.rb
index 7ff6bf78d..f948d21ca 100644
--- a/Library/Formula/pam_yubico.rb
+++ b/Library/Formula/pam_yubico.rb
@@ -5,6 +5,8 @@ class PamYubico < Formula
url 'https://github.com/Yubico/yubico-pam/archive/2.14.tar.gz'
sha1 'c86fd78788e6a81cadd57b23411e78bd7fab48bb'
+ option :universal
+
depends_on 'pkg-config' => :build
depends_on :autoconf
depends_on :automake
@@ -14,6 +16,8 @@ class PamYubico < Formula
depends_on 'ykpers'
def install
+ ENV.universal_binary if build.universal?
+
system "autoreconf -vfi"
system "./configure", "--prefix=#{prefix}",
"--with-libyubikey-prefix=#{HOMEBREW_PREFIX}",