Tue Sep 23 19:07:06 2014 UTC ()
SunOS needs -lsocket -lnsl.


(jperkin)
diff -r1.12 -r1.13 pkgsrc/graphics/tesseract/Makefile

cvs diff -r1.12 -r1.13 pkgsrc/graphics/tesseract/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/tesseract/Makefile 2013/01/26 21:38:01 1.12
+++ pkgsrc/graphics/tesseract/Makefile 2014/09/23 19:07:06 1.13
@@ -1,30 +1,32 @@ @@ -1,30 +1,32 @@
1# $NetBSD: Makefile,v 1.12 2013/01/26 21:38:01 adam Exp $ 1# $NetBSD: Makefile,v 1.13 2014/09/23 19:07:06 jperkin Exp $
2# 2#
3 3
4DISTNAME= tesseract-2.04 4DISTNAME= tesseract-2.04
5PKGREVISION= 4 5PKGREVISION= 4
6CATEGORIES= graphics 6CATEGORIES= graphics
7MASTER_SITES= http://tesseract-ocr.googlecode.com/files/ 7MASTER_SITES= http://tesseract-ocr.googlecode.com/files/
8DISTFILES+= ${DISTNAME}.tar.gz 8DISTFILES+= ${DISTNAME}.tar.gz
9.for l in deu eng fra ita nld spa 9.for l in deu eng fra ita nld spa
10DISTFILES+= tesseract-2.00.${l}.tar.gz 10DISTFILES+= tesseract-2.00.${l}.tar.gz
11.endfor 11.endfor
12 12
13MAINTAINER= pkgsrc-users@NetBSD.org 13MAINTAINER= pkgsrc-users@NetBSD.org
14HOMEPAGE= http://code.google.com/p/tesseract-ocr/ 14HOMEPAGE= http://code.google.com/p/tesseract-ocr/
15COMMENT= Commercial quality open source OCR engine 15COMMENT= Commercial quality open source OCR engine
16LICENSE= apache-2.0 16LICENSE= apache-2.0
17 17
 18LDFLAGS.SunOS+= -lsocket -lnsl
 19
18INSTALLATION_DIRS= libexec share/doc/tesseract share/tesseract 20INSTALLATION_DIRS= libexec share/doc/tesseract share/tesseract
19 21
20GNU_CONFIGURE= yes 22GNU_CONFIGURE= yes
21USE_LANGUAGES= c c++ 23USE_LANGUAGES= c c++
22USE_TOOLS+= gmake pax 24USE_TOOLS+= gmake pax
23 25
24post-extract: 26post-extract:
25 ${RM} ${WRKSRC}/java/makefile 27 ${RM} ${WRKSRC}/java/makefile
26 28
27post-build: 29post-build:
28 ${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/tesseract.sh \ 30 ${SED} -e "s,@PREFIX@,${PREFIX}," ${FILESDIR}/tesseract.sh \
29 > ${WRKSRC}/tesseract.sh 31 > ${WRKSRC}/tesseract.sh
30 32