From a30a6fe6b908e105286ca9fb89d805f16b0b90fc Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Fri, 13 Jan 2017 01:06:28 -0800 Subject: [PATCH] hunspell: depend on gettext at runtime actually execute hunspell in the test Closes #8811. Signed-off-by: ilovezfs --- Formula/hunspell.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Formula/hunspell.rb b/Formula/hunspell.rb index 0bd55e7f2b..1843f6933b 100644 --- a/Formula/hunspell.rb +++ b/Formula/hunspell.rb @@ -3,6 +3,7 @@ class Hunspell < Formula homepage "https://hunspell.github.io" url "https://github.com/hunspell/hunspell/archive/v1.6.0.tar.gz" sha256 "512e7d2ee69dad0b35ca011076405e56e0f10963a02d4859dbcc4faf53ca68e2" + revision 1 bottle do cellar :any @@ -13,8 +14,8 @@ class Hunspell < Formula depends_on "autoconf" => :build depends_on "automake" => :build - depends_on "gettext" => :build depends_on "libtool" => :build + depends_on "gettext" depends_on "readline" conflicts_with "freeling", :because => "both install 'analyze' binary" @@ -42,7 +43,6 @@ class Hunspell < Formula end test do - cp_r "#{pkgshare}/tests/.", testpath - system "./test.sh" + system bin/"hunspell", "--help" end end