diff --git a/Formula/pdfgrep.rb b/Formula/pdfgrep.rb index 9d295d52bd..4c447479da 100644 --- a/Formula/pdfgrep.rb +++ b/Formula/pdfgrep.rb @@ -22,7 +22,10 @@ class Pdfgrep < Formula depends_on "poppler" depends_on "pcre" => :optional + needs :cxx11 + def install + ENV.cxx11 system "./autogen.sh" if build.head? args = %W[--disable-dependency-tracking --prefix=#{prefix}]