tesseract: install leptonica with libtiff

When using tesseract with the default install options, and the
"tessedit_write_images true" config option, usage fails with:

    Error in pixWriteStreamTiff: function not present
    Error in pixWrite: pix not written to stream

Installing leptonica with libtiff support fixes this issue.
Please STOP mailing me your messages.



> On 05 Nov 2014, at 12:13, Mike McQuaid <notifications@github.com> wrote:
> 
> In Library/Formula/tesseract.rb:
> 
> > @@ -32,7 +32,11 @@ class Tesseract < Formula
> >    option "all-languages", "Install recognition data for all languages"
> >  
> >    depends_on "libtiff" => :recommended
> > -  depends_on "leptonica"
> > +  if build.with? "libtiff"
> > +    depends_on "leptonica" => "with-libtiff"
> > +  else
> > +    depends_on "leptonica"
> > +  end
> Can you remove this and instead change depends_on "libtiff" => :recommended in leptonica.rb? Thanks!
> 
> —
> Reply to this email directly or view it on GitHub.
>