docbook2x: remove pointless deps (#1766)

2bc2de8124 was just about
a valid commit at the time, but isn't really today. All of these Perl dependencies have
shipped as part of Apple's Perl installation since at least Perl 5.10, which was
added to OS X in 10.6 (Snow Leopard), and 10.6 is the oldest OS X release the core
supports.

Linuxbrew or Tigerbrew may want to look into this more, but for >= 10.6 it's a
completely misleading and never-invoked block.
This commit is contained in:
Dominyk Tiller 2016-06-07 12:29:02 +01:00
parent 5c05352754
commit d2c9b57351

View file

@ -12,10 +12,6 @@ class Docbook2x < Formula
end
depends_on "docbook"
depends_on "XML::NamespaceSupport" => :perl
depends_on "XML::SAX" => :perl
depends_on "XML::Parser" => :perl
depends_on "XML::SAX::Expat" => :perl
def install
inreplace "perl/db2x_xsltproc.pl", "http://docbook2x.sf.net/latest/xslt", "#{share}/docbook2X/xslt"