pdfgrep: needs cxx11

Closes Homebrew/homebrew#50220.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Dominyk Tiller 2016-03-18 01:52:29 +00:00 committed by Xu Cheng
parent eb7053a022
commit b30b327102

View file

@ -22,7 +22,10 @@ class Pdfgrep < Formula
depends_on "poppler" depends_on "poppler"
depends_on "pcre" => :optional depends_on "pcre" => :optional
needs :cxx11
def install def install
ENV.cxx11
system "./autogen.sh" if build.head? system "./autogen.sh" if build.head?
args = %W[--disable-dependency-tracking --prefix=#{prefix}] args = %W[--disable-dependency-tracking --prefix=#{prefix}]