Created attachment 180564 [details] patch Accidentally clicked Submit without a message, sorry. The port builds fine on 10.3-RELEASE with Poudriere.
A commit references this bug: Author: madpilot Date: Fri Mar 10 21:19:19 UTC 2017 New revision: 435843 URL: https://svnweb.freebsd.org/changeset/ports/435843 Log: - Update tesseract to 3.05.00 - Fix build when TOOLS option is disabled PR: 217587 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> (maintainer) Changes: head/graphics/tesseract/Makefile head/graphics/tesseract/distinfo head/graphics/tesseract/files/ head/graphics/tesseract/pkg-plist
Committed with minor changes. I noticed that USES=pkgconfig is always needed not only when enabling the TOOLS option. I also made the port modify configure.ac. USES=autoreconf already regenerates autotools scripts, so better modify the sources than generating them just to manually patch the produced configure script. Thanks!