libosinfo: remove wget dependency

Closes #14016.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-05-28 08:30:28 -07:00
parent 737f2f6279
commit e953511a88

View file

@ -12,7 +12,6 @@ class Libosinfo < Formula
depends_on "intltool" => :build
depends_on "pkg-config" => :build
depends_on "wget" => :build
depends_on "check"
depends_on "gettext"
@ -25,6 +24,9 @@ class Libosinfo < Formula
depends_on "vala" => :optional
def install
# avoid wget dependency
inreplace "Makefile.in", "wget -q -O", "curl -o"
args = %W[
--prefix=#{prefix}
--localstatedir=#{var}