From eabf5007b009b7de44c60cfb69cc0732613be17c Mon Sep 17 00:00:00 2001 From: Geoff Nixon Date: Sun, 8 Feb 2015 01:00:05 -0800 Subject: 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 --- Library/Formula/xmlto.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Library/Formula') 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" -- cgit v1.2.3