pdfgrep: fix HEAD build
The remaining error in the HEAD build is due to Homebrew's version of poppler (0.29.0) not being new enough. An update to poppler has been in the works for a while (see Homebrew/homebrew#37280). Closes Homebrew/homebrew#39301. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
04292bbbf1
commit
6f2d72f8ce
1 changed files with 8 additions and 1 deletions
|
@ -3,7 +3,12 @@ class Pdfgrep < Formula
|
|||
url "https://downloads.sourceforge.net/project/pdfgrep/1.3.1/pdfgrep-1.3.1.tar.gz"
|
||||
sha1 "8d15760af0803ccea32760d5f68abe4224169639"
|
||||
|
||||
head "https://git.gitorious.org/pdfgrep/pdfgrep.git"
|
||||
head do
|
||||
url "https://gitlab.com/pdfgrep/pdfgrep.git"
|
||||
depends_on "automake" => :build
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "asciidoc" => :build
|
||||
end
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -16,7 +21,9 @@ class Pdfgrep < Formula
|
|||
depends_on "poppler"
|
||||
|
||||
def install
|
||||
system "./autogen.sh" if build.head?
|
||||
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
ENV["XML_CATALOG_FILES"] = "#{HOMEBREW_PREFIX}/etc/xml/catalog"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue