From 33b5333f0010e1140acbcb03d98dd513d12b6555 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Sat, 6 Jan 2018 02:41:36 -0800 Subject: [PATCH] link-grammar 5.4.3 depend on ant instead of :ant Closes #22500. Signed-off-by: ilovezfs --- Formula/link-grammar.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Formula/link-grammar.rb b/Formula/link-grammar.rb index 4f985e95078..c4424311990 100644 --- a/Formula/link-grammar.rb +++ b/Formula/link-grammar.rb @@ -1,8 +1,8 @@ class LinkGrammar < Formula desc "Carnegie Mellon University's link grammar parser" homepage "https://www.abisource.com/projects/link-grammar/" - url "https://www.abisource.com/downloads/link-grammar/5.4.2/link-grammar-5.4.2.tar.gz" - sha256 "46dd36d1f96f018c334df096c3fa0472ebd1365b5f7869711035d02dea00f4e4" + url "https://www.abisource.com/downloads/link-grammar/5.4.3/link-grammar-5.4.3.tar.gz" + sha256 "3b043693ba091647128aaa60b3ed9187dc8b80f5921d4d7a6550294ca5a8e137" bottle do sha256 "a5cf851dca54d1b6f340c4e9ca6bd34115081a7aab792d5f77d2796fcef8a7dc" => :high_sierra @@ -15,15 +15,14 @@ class LinkGrammar < Formula depends_on "autoconf-archive" => :build depends_on "automake" => :build depends_on "libtool" => :build - depends_on :ant => :build + depends_on "ant" => :build def install ENV["PYTHON_LIBS"] = "-undefined dynamic_lookup" inreplace "bindings/python/Makefile.am", "$(PYTHON2_LDFLAGS) -module -no-undefined", "$(PYTHON2_LDFLAGS) -module" - inreplace "autogen.sh", "libtoolize", "glibtoolize" - system "./autogen.sh", "--no-configure" + system "autoreconf", "-fiv" system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make", "install"