diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/wget.rb | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/Library/Formula/wget.rb b/Library/Formula/wget.rb index 5eda029f1..cdad430d5 100644 --- a/Library/Formula/wget.rb +++ b/Library/Formula/wget.rb @@ -2,8 +2,8 @@ require 'formula' class Wget < Formula homepage 'http://www.gnu.org/software/wget/' - url 'http://ftp.gnu.org/gnu/wget/wget-1.12.tar.bz2' - md5 '308a5476fc096a8a525d07279a6f6aa3' + url 'http://ftp.gnu.org/gnu/wget/wget-1.13.3.tar.gz' + md5 '2524f82296d51ef444e96e3a28bb4fbb' depends_on "openssl" if MacOS.leopard? depends_on "libidn" if ARGV.include? "--enable-iri" @@ -12,15 +12,11 @@ class Wget < Formula [["--enable-iri", "Enable iri support."]] end - def patches - # Fixes annoying TLS Subject Alternative Name bug encountered especially when using GitHub - # Remove when 1.12.1 is released. - # See https://savannah.gnu.org/bugs/?23934 - "http://savannah.gnu.org/file/wget-1.12-subjectAltNames.diff?file_id=18828" - end - def install - args = ["--disable-debug", "--prefix=#{prefix}"] + args = ["--disable-debug", + "--prefix=#{prefix}", + "--with-ssl=openssl"] + args << "--disable-iri" unless ARGV.include? "--enable-iri" system "./configure", *args |
