diff options
| author | Geoff Nixon | 2015-02-08 01:00:05 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-09 12:41:38 +0000 |
| commit | eabf5007b009b7de44c60cfb69cc0732613be17c (patch) | |
| tree | 01fc8ae2bd585189b72a2e39dcd93507bddd8c46 /Library/Formula | |
| parent | 7c87c10fd67720044a9510b87efcdac8243f0999 (diff) | |
| download | homebrew-eabf5007b009b7de44c60cfb69cc0732613be17c.tar.bz2 | |
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 #36647.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xmlto.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/xmlto.rb b/Library/Formula/xmlto.rb index f2cd12ddd..090d95ae5 100644 --- a/Library/Formula/xmlto.rb +++ b/Library/Formula/xmlto.rb @@ -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" |
