diff options
| author | Jack Nagel | 2014-01-21 18:33:50 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-01-21 18:33:50 -0600 |
| commit | 9e0f6f858cb6610a803b676e135ccca658c7a5a6 (patch) | |
| tree | fd6c7df2d2f0ccacf0f94b940b98a6e4b4e53101 /Library/Formula | |
| parent | ff0b27aa131a64ce4a9a819b4f252614c5118687 (diff) | |
| download | homebrew-9e0f6f858cb6610a803b676e135ccca658c7a5a6.tar.bz2 | |
wget: use Homebrew's openssl
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/wget.rb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Library/Formula/wget.rb b/Library/Formula/wget.rb index 505147e99..21d5e32bb 100644 --- a/Library/Formula/wget.rb +++ b/Library/Formula/wget.rb @@ -21,14 +21,19 @@ class Wget < Formula option "enable-iri", "Enable iri support" option "enable-debug", "Build with debug support" - depends_on "openssl" if MacOS.version <= :leopard + depends_on "openssl" depends_on "libidn" if build.include? "enable-iri" def install system "./bootstrap" if build.head? - args = ["--prefix=#{prefix}", - "--sysconfdir=#{etc}", - "--with-ssl=openssl"] + + args = %W[ + --prefix=#{prefix} + --sysconfdir=#{etc} + --with-ssl=openssl + --with-libssl-prefix=#{Formula.factory("openssl").opt_prefix} + ] + args << "--disable-debug" unless build.include? "enable-debug" args << "--disable-iri" unless build.include? "enable-iri" |
