aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-04-14 18:44:57 -0500
committerJack Nagel2014-04-14 18:44:57 -0500
commitf8eb3041a301b25ce45a1bdb94d507ebc453cb2f (patch)
treee1d873e6ce956268dbaa798523258108f5c0036e /Library
parent02c2a10ad570b68cc15160ff922b2bf285d3d4bb (diff)
downloadhomebrew-f8eb3041a301b25ce45a1bdb94d507ebc453cb2f.tar.bz2
gnutls: share CA file generated by openssl's post-install
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gnutls.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/gnutls.rb b/Library/Formula/gnutls.rb
index 4c272e3e3..fb54ebe0f 100644
--- a/Library/Formula/gnutls.rb
+++ b/Library/Formula/gnutls.rb
@@ -31,6 +31,7 @@ class Gnutls < Formula
--disable-static
--prefix=#{prefix}
--sysconfdir=#{etc}
+ --with-default-trust-store-file=#{etc}/openssl/cert.pem
]
if build.with? 'guile'
@@ -45,4 +46,8 @@ class Gnutls < Formula
mv bin+'certtool', bin+'gnutls-certtool'
mv man1+'certtool.1', man1+'gnutls-certtool.1'
end
+
+ def post_install
+ Formula["openssl"].post_install
+ end
end