libxslt: squash audit issues
Closes #4791. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
b1d0b20b0a
commit
03a5ab2dd3
1 changed files with 8 additions and 4 deletions
|
@ -13,10 +13,6 @@ class Libxslt < Formula
|
|||
sha256 "39820c2f81926fc1aee8854553d3c390c644db068847ceae77c805d65e2303a2" => :mavericks
|
||||
end
|
||||
|
||||
keg_only :provided_by_osx
|
||||
|
||||
depends_on "libxml2"
|
||||
|
||||
head do
|
||||
url "https://git.gnome.org/browse/libxslt.git"
|
||||
|
||||
|
@ -28,6 +24,10 @@ class Libxslt < Formula
|
|||
patch :DATA
|
||||
end
|
||||
|
||||
keg_only :provided_by_osx
|
||||
|
||||
depends_on "libxml2"
|
||||
|
||||
def install
|
||||
if build.head?
|
||||
ENV["NOCONFIGURE"] = "yes"
|
||||
|
@ -50,6 +50,10 @@ class Libxslt < Formula
|
|||
gem install nokogiri -- --with-xslt-dir=#{opt_prefix}
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match version.to_s, shell_output("#{bin}/xslt-config --version")
|
||||
end
|
||||
end
|
||||
|
||||
__END__
|
||||
|
|
Loading…
Reference in a new issue