aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchdiza2014-12-10 00:39:23 -0500
committerMisty De Meo2014-12-10 11:25:23 -0800
commitabe8887f31d2cf3dddd0ebd39560ae22df3fbe47 (patch)
tree25f846687bf1477ca3675856a1ff6635da137fdd
parentc661f77cbfb96a8f1ee45e2e720d3e36f54462c6 (diff)
downloadhomebrew-abe8887f31d2cf3dddd0ebd39560ae22df3fbe47.tar.bz2
wget 1.16.1
This release brings the --disable-pcre flag, and this commit makes that flag take effect unless you pass --with-pcre to the brew install. Pcre is not a requirement, but wget opportunistically (and silently) links to it if it's on your machine, which can make for nasty surprises later. Closes #34842. Closes #34857. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
-rw-r--r--Library/Formula/wget.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/wget.rb b/Library/Formula/wget.rb
index b64e579a9..de6deb1aa 100644
--- a/Library/Formula/wget.rb
+++ b/Library/Formula/wget.rb
@@ -5,9 +5,9 @@ require "formula"
class Wget < Formula
homepage "https://www.gnu.org/software/wget/"
- url "http://ftpmirror.gnu.org/wget/wget-1.16.tar.xz"
- mirror "https://ftp.gnu.org/gnu/wget/wget-1.16.tar.xz"
- sha1 "08d991acc80726abe57043a278f9da469c454503"
+ url "http://ftpmirror.gnu.org/wget/wget-1.16.1.tar.xz"
+ mirror "https://ftp.gnu.org/gnu/wget/wget-1.16.1.tar.xz"
+ sha1 "21cd7eee08ab5e5a14fccde22a7aec55b5fcd6fc"
bottle do
sha1 "97196dab9c0eb7afc7060afec98fc8cda54459c2" => :yosemite
@@ -31,6 +31,7 @@ class Wget < Formula
depends_on "openssl"
depends_on "libidn" if build.with? "iri"
+ depends_on "pcre" => :optional
def install
if build.head?
@@ -47,6 +48,7 @@ class Wget < Formula
args << "--disable-debug" if build.without? "debug"
args << "--disable-iri" if build.without? "iri"
+ args << "--disable-pcre" if build.without? "pcre"
system "./configure", *args
system "make", "install"