hunspell: depend on gettext at runtime
actually execute hunspell in the test Closes #8811. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
9cbb049193
commit
a30a6fe6b9
1 changed files with 3 additions and 3 deletions
|
@ -3,6 +3,7 @@ class Hunspell < Formula
|
||||||
homepage "https://hunspell.github.io"
|
homepage "https://hunspell.github.io"
|
||||||
url "https://github.com/hunspell/hunspell/archive/v1.6.0.tar.gz"
|
url "https://github.com/hunspell/hunspell/archive/v1.6.0.tar.gz"
|
||||||
sha256 "512e7d2ee69dad0b35ca011076405e56e0f10963a02d4859dbcc4faf53ca68e2"
|
sha256 "512e7d2ee69dad0b35ca011076405e56e0f10963a02d4859dbcc4faf53ca68e2"
|
||||||
|
revision 1
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any
|
cellar :any
|
||||||
|
@ -13,8 +14,8 @@ class Hunspell < Formula
|
||||||
|
|
||||||
depends_on "autoconf" => :build
|
depends_on "autoconf" => :build
|
||||||
depends_on "automake" => :build
|
depends_on "automake" => :build
|
||||||
depends_on "gettext" => :build
|
|
||||||
depends_on "libtool" => :build
|
depends_on "libtool" => :build
|
||||||
|
depends_on "gettext"
|
||||||
depends_on "readline"
|
depends_on "readline"
|
||||||
|
|
||||||
conflicts_with "freeling", :because => "both install 'analyze' binary"
|
conflicts_with "freeling", :because => "both install 'analyze' binary"
|
||||||
|
@ -42,7 +43,6 @@ class Hunspell < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
cp_r "#{pkgshare}/tests/.", testpath
|
system bin/"hunspell", "--help"
|
||||||
system "./test.sh"
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue