Index: head/graphics/tesseract/Makefile =================================================================== --- head/graphics/tesseract/Makefile (revision 496935) +++ head/graphics/tesseract/Makefile (revision 496936) @@ -1,59 +1,59 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ PORTNAME= tesseract PORTVERSION= 3.05.02 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= graphics MAINTAINER= pkubaj@anongoth.pl COMMENT= Commercial quality open source OCR engine LICENSE= APACHE20 LIB_DEPENDS= liblept.so:graphics/leptonica RUN_DEPENDS= tesseract-data>=0:graphics/tesseract-data USES= autoreconf compiler:c++11-lang localbase libtool pathfix pkgconfig GNU_CONFIGURE= yes USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME}-ocr CONFIGURE_ENV= LIBLEPT_HEADERSDIR="${LOCALBASE}/include/leptonica" DATADIR= ${PREFIX}/share/tessdata PORTDATA= * PORTDOCS= AUTHORS ChangeLog README.md PORTEXAMPLES= eurotext.tif phototest.tif INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS EXAMPLES TOOLS OPTIONS_DEFAULT=TOOLS OPTIONS_SUB= yes TOOLS_DESC= Include training tools TOOLS_LIB_DEPENDS=libicui18n.so:devel/icu \ libfontconfig.so:x11-fonts/fontconfig TOOLS_USES= compiler:c++11-lib TOOLS_USE= GNOME=cairo,glib20,pango post-patch: @${REINPLACE_CMD} -e 's|-O3 -DNDEBUG||' ${WRKSRC}/configure.ac post-build-TOOLS-on: @cd ${WRKSRC} && ${MAKE} training post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC} && ${INSTALL_DATA} testing/eurotext.tif \ testing/phototest.tif ${STAGEDIR}${EXAMPLESDIR} post-install-TOOLS-on: @cd ${WRKSRC} && ${MAKE} DESTDIR=${STAGEDIR} training-install .include Index: head/graphics/tesseract/files/patch-configure.ac =================================================================== --- head/graphics/tesseract/files/patch-configure.ac (nonexistent) +++ head/graphics/tesseract/files/patch-configure.ac (revision 496936) @@ -0,0 +1,12 @@ +sem_init(3) is part of libc on FreeBSD, so we ended up not linking against +libpthread. Look for a symbol that causes us to load it. +--- configure.ac.orig 2019-03-26 21:58:42 UTC ++++ configure.ac +@@ -375,6 +375,7 @@ CXXFLAGS="$OLD_CXXFLAGS" + # ---------------------------------------- + + AC_SEARCH_LIBS([sem_init], [pthread rt]) ++AC_SEARCH_LIBS([pthread_create], [pthread]) + + + # ---------------------------------------- Property changes on: head/graphics/tesseract/files/patch-configure.ac ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property