xmlto 0.0.26
The bottled xmlto is currently broken because the full cellar path of GNU getopt gets hardcode presently (and GNU getopt saw a version bump recently, it seems). It was actually only after making the fix that I stumbled upon this update, which is listed on this "new" (more appropriate) homepage. Closes Homebrew/homebrew#36647. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
f82b283f0b
commit
dcf6341a4d
1 changed files with 6 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
require 'formula'
|
||||
|
||||
class Xmlto < Formula
|
||||
homepage 'http://cyberelk.net/tim/software/xmlto/'
|
||||
url 'http://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.25.tar.bz2'
|
||||
sha1 '5d1aecd59d519066f94b4591722767c4e41bdc0f'
|
||||
homepage 'https://fedorahosted.org/xmlto/'
|
||||
url 'http://fedorahosted.org/releases/x/m/xmlto/xmlto-0.0.26.tar.bz2'
|
||||
sha1 'c5a982239c738c76d0e67bc416d835cf102cd422'
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -14,6 +14,8 @@ class Xmlto < Formula
|
|||
|
||||
depends_on 'docbook'
|
||||
depends_on 'docbook-xsl'
|
||||
# Doesn't strictly depend on GNU getopt, but OS X system getopt(1)
|
||||
# does not suport longopts in the optstring, so use GNU getopt.
|
||||
depends_on 'gnu-getopt'
|
||||
|
||||
# xmlto forces --nonet on xsltproc, which causes it to fail when
|
||||
|
@ -22,7 +24,7 @@ class Xmlto < Formula
|
|||
|
||||
def install
|
||||
# GNU getopt is keg-only, so point configure to it
|
||||
ENV['GETOPT'] = Formula["gnu-getopt"].bin/"getopt"
|
||||
ENV['GETOPT'] = Formula["gnu-getopt"].opt_prefix/"bin/getopt"
|
||||
# Find our docbook catalog
|
||||
ENV['XML_CATALOG_FILES'] = "#{etc}/xml/catalog"
|
||||
|
||||
|
|
Loading…
Reference in a new issue