summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-03-30 11:38:59 +0000
committerfhajny <fhajny@pkgsrc.org>2016-03-30 11:38:59 +0000
commita416ada520ea47b3b2114cfc1de74aa24977e2e0 (patch)
tree5c77260f9f2951f0ceeb430a97dfca89c49a0d52
parent7fa291005033788eea1e35bb532c9516d2c925ac (diff)
downloadpkgsrc-a416ada520ea47b3b2114cfc1de74aa24977e2e0.tar.gz
Make sure leptonica is detected properly
-rw-r--r--graphics/tesseract/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 9f18770620a..f88ab7b29b8 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2016/03/17 12:51:14 fhajny Exp $
+# $NetBSD: Makefile,v 1.19 2016/03/30 11:38:59 fhajny Exp $
DISTNAME= tesseract-3.04.01
CATEGORIES= graphics
@@ -19,6 +19,8 @@ USE_LIBTOOL= yes
USE_TOOLS+= gmake pax
GNU_CONFIGURE= yes
+CONFIGURE_ENV+= LIBLEPT_HEADERSDIR=${BUILDLINK_PREFIX.leptonica}/include
+
INSTALL_TARGET= install training-install
INSTALLATION_DIRS= libexec share/doc/tesseract share/tesseract