aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gettext.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-12-27 16:00:45 +0000
committerMike McQuaid2014-12-27 16:31:45 +0000
commit3b92f27cb759ffd80953430a62d5efac905fc4b7 (patch)
treec69bd4575bb03aef7e0a729c8d91a3ad365bcca9 /Library/Formula/gettext.rb
parentf23940af9c378296a7abdeed214b082c11482a10 (diff)
downloadhomebrew-3b92f27cb759ffd80953430a62d5efac905fc4b7.tar.bz2
gettext: fix strict audit failures.
Diffstat (limited to 'Library/Formula/gettext.rb')
-rw-r--r--Library/Formula/gettext.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/gettext.rb b/Library/Formula/gettext.rb
index 5eb013c39..eac5cb8d4 100644
--- a/Library/Formula/gettext.rb
+++ b/Library/Formula/gettext.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Gettext < Formula
homepage "https://www.gnu.org/software/gettext/"
url "http://ftpmirror.gnu.org/gettext/gettext-0.19.4.tar.xz"
@@ -39,4 +37,8 @@ class Gettext < Formula
ENV.deparallelize # install doesn't support multiple make jobs
system "make", "install"
end
+
+ test do
+ system "#{bin}/gettext", "test"
+ end
end