aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/apr-util.rb
diff options
context:
space:
mode:
authorDominyk Tiller2015-01-13 15:36:17 +0000
committerJack Nagel2015-01-13 20:18:45 -0500
commitfd340838a00d27c6ca7f65147e3d6032afe66148 (patch)
tree60323719db88c9640f1e8e068f03491f5463d5ac /Library/Formula/apr-util.rb
parentffb86df59e175b4c1a09df0aca5e864aafa0d8c7 (diff)
downloadhomebrew-fd340838a00d27c6ca7f65147e3d6032afe66148.tar.bz2
apr-util: add universal option
Closes #35811. Closes #35827. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/apr-util.rb')
-rw-r--r--Library/Formula/apr-util.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/apr-util.rb b/Library/Formula/apr-util.rb
index a4e106ab9..cd740016a 100644
--- a/Library/Formula/apr-util.rb
+++ b/Library/Formula/apr-util.rb
@@ -11,11 +11,15 @@ class AprUtil < Formula
keg_only :provided_by_osx, "Apple's CLT package contains apr."
+ option :universal
+
depends_on "apr"
depends_on "openssl"
depends_on "postgresql" => :optional
def install
+ ENV.universal_binary if build.universal?
+
# Stick it in libexec otherwise it pollutes lib with a .exp file.
args = %W[
--prefix=#{libexec}