aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/glib-networking.rb
diff options
context:
space:
mode:
authorJack Nagel2014-04-14 18:51:24 -0500
committerJack Nagel2014-04-14 18:52:37 -0500
commit5d2f36e9b4680dcd0a19b2970b41867935fa7b8f (patch)
tree3989bdb75c645020ed90c71d16da08f1d9f7e91c /Library/Formula/glib-networking.rb
parent2d05637a3f9b469d32beeee556053df5c626b867 (diff)
downloadhomebrew-5d2f36e9b4680dcd0a19b2970b41867935fa7b8f.tar.bz2
glib-networking: use CA file installed by gnutls/openssl
Goodbye curl-ca-bundle.
Diffstat (limited to 'Library/Formula/glib-networking.rb')
-rw-r--r--Library/Formula/glib-networking.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/Library/Formula/glib-networking.rb b/Library/Formula/glib-networking.rb
index e9ea87baf..6738040a2 100644
--- a/Library/Formula/glib-networking.rb
+++ b/Library/Formula/glib-networking.rb
@@ -11,20 +11,12 @@ class GlibNetworking < Formula
depends_on 'glib'
depends_on 'gnutls'
depends_on 'gsettings-desktop-schemas'
- depends_on 'curl-ca-bundle' => :optional
def install
- if build.with? "curl-ca-bundle"
- curl_ca_bundle = Formula["curl-ca-bundle"].opt_prefix
- certs_options = "--with-ca-certificates=#{curl_ca_bundle}/share/ca-bundle.crt"
- else
- certs_options = "--without-ca-certificates"
- end
-
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}",
- certs_options
+ "--with-ca-certificates=#{etc}/openssl/cert.pem"
system "make install"
end
end