Browse files

Added CA to openssl formula.

  • Loading branch information...
1 parent d9fcc6e commit c1e1fe05346e2e5d996524c5b99635cde68b7b72 Burke Libbey committed Jan 18, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Library/Formula/openssl.rb
View
3 Library/Formula/openssl.rb
@@ -11,12 +11,13 @@ class Openssl < Formula
def install
# I don't understand why this works and other things don't, but I'm done debugging this. it's ugly, but it works.
- `cd #{Dir.pwd} ; ./Configure darwin64-x86_64-cc --prefix=#{prefix} --openssldir=#{etc}/openssl zlib-dynamic shared`
+ `cd #{Dir.pwd} ; ./Configure darwin64-x86_64-cc --prefix=#{prefix} --openssldir=#{prefix}/etc/openssl zlib-dynamic shared`
ENV.deparallelize # Parallel compilation fails
system "make"
system "make test"
system "make install MANDIR=#{man} MANSUFFIX=ssl"
+ system "curl http://curl.haxx.se/ca/cacert.pem > /usr/local/Cellar/openssl/1.0.1-beta1/etc/openssl/cert.pem"
end
end

0 comments on commit c1e1fe0

Please sign in to comment.