summaryrefslogtreecommitdiff
path: root/graphics/claraocr
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/claraocr')
-rw-r--r--graphics/claraocr/Makefile4
-rw-r--r--graphics/claraocr/files/patch-Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/claraocr/Makefile b/graphics/claraocr/Makefile
index d4a3a133d330..da19af439ad0 100644
--- a/graphics/claraocr/Makefile
+++ b/graphics/claraocr/Makefile
@@ -7,7 +7,7 @@
PORTNAME= claraocr
PORTVERSION= 0.9.9
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= graphics accessibility
MASTER_SITES= ${MASTER_SITE_NETBSD}
DISTNAME= clara-${PORTVERSION}
@@ -17,7 +17,7 @@ COMMENT= Optical character recognition (OCR) utility
RUN_DEPENDS= pnmenlarge:${PORTSDIR}/graphics/netpbm
-USE_XLIB= yes
+USE_XORG= x11
USE_PERL5= yes
MAKE_ENV= MKDIR="${MKDIR}"
diff --git a/graphics/claraocr/files/patch-Makefile b/graphics/claraocr/files/patch-Makefile
index 24e8a6abbfd5..9cb923df07c7 100644
--- a/graphics/claraocr/files/patch-Makefile
+++ b/graphics/claraocr/files/patch-Makefile
@@ -23,8 +23,8 @@
-INCLUDE = -I/usr/X11R6/include
-LIBPATH = -L/usr/X11R6/lib
-CC = gcc
-+INCLUDE = -I${X11BASE}/include
-+LIBPATH = -L${X11BASE}/lib
++INCLUDE = -I${LOCALBASE}/include
++LIBPATH = -L${LOCALBASE}/lib
+CC ?= gcc
#