pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/tesseract tesseract: Avoid unportable `=' tes...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d0c485c386d
branches:  trunk
changeset: 395294:2d0c485c386d
user:      leot <leot%pkgsrc.org@localhost>
date:      Sat May 04 16:05:33 2019 +0000

description:
tesseract: Avoid unportable `=' test(1) operator

PKGREVISION++

(There should be no change, i.e. the test(1) code path seems still never
crossed, but bump it for extra paranoia.)

diffstat:

 graphics/tesseract/Makefile                           |  4 ++--
 graphics/tesseract/distinfo                           |  4 ++--
 graphics/tesseract/patches/patch-tessdata_Makefile.am |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (46 lines):

diff -r ebccf67d0cca -r 2d0c485c386d graphics/tesseract/Makefile
--- a/graphics/tesseract/Makefile       Sat May 04 15:32:32 2019 +0000
+++ b/graphics/tesseract/Makefile       Sat May 04 16:05:33 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.46 2019/04/03 00:32:47 ryoon Exp $
+# $NetBSD: Makefile,v 1.47 2019/05/04 16:05:33 leot Exp $
 
 DISTNAME=      tesseract-4.0.0
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tesseract-ocr/}
 DISTFILES=     ${DEFAULT_DISTFILES}
diff -r ebccf67d0cca -r 2d0c485c386d graphics/tesseract/distinfo
--- a/graphics/tesseract/distinfo       Sat May 04 15:32:32 2019 +0000
+++ b/graphics/tesseract/distinfo       Sat May 04 16:05:33 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.20 2018/11/29 09:15:22 adam Exp $
+$NetBSD: distinfo,v 1.21 2019/05/04 16:05:33 leot Exp $
 
 SHA1 (tessdata-4.0.0.tar.gz) = 94557a6ecdf8ff8bec131598759e7d3b0bca1911
 RMD160 (tessdata-4.0.0.tar.gz) = 2e826e866b56ff8b9cb2c6613f04d8c4a4ff98d7
@@ -9,4 +9,4 @@
 SHA512 (tesseract-4.0.0.tar.gz) = 69e57d4ba1fc43d212fd0fff69a2b5d48a3b37cfee7054fdc083cbb7e04d92317609a32e457229661d70ce8d9b16c9d25e81bfc3861db660dd2c8f292202d447
 Size (tesseract-4.0.0.tar.gz) = 1961372 bytes
 SHA1 (patch-doc_Makefile.am) = fd9cc782e766428de5709b77d7a2476be55ec7d8
-SHA1 (patch-tessdata_Makefile.am) = 496926e629d3803165306c22a9c03ff71f5b774f
+SHA1 (patch-tessdata_Makefile.am) = 1fdbed9dafc1527eb52f354c8b78ba82f854b350
diff -r ebccf67d0cca -r 2d0c485c386d graphics/tesseract/patches/patch-tessdata_Makefile.am
--- a/graphics/tesseract/patches/patch-tessdata_Makefile.am     Sat May 04 15:32:32 2019 +0000
+++ b/graphics/tesseract/patches/patch-tessdata_Makefile.am     Sat May 04 16:05:33 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-tessdata_Makefile.am,v 1.2 2018/11/03 09:13:07 adam Exp $
+$NetBSD: patch-tessdata_Makefile.am,v 1.3 2019/05/04 16:05:33 leot Exp $
 
 Revert a trunk commit that broke install-lang for tesseract<4.
 
@@ -20,7 +20,7 @@
 +              for l in ./*.traineddata; do \
 +                      filename=`basename $$l`; \
 +                      lang_code=$${filename%.*}; \
-+                      if test "$$lang_code" == "*"; then \
++                      if test "$$lang_code" = "*"; then \
 +                              echo "No lang present."; \
 +                              break; \
 +                      fi; \



Home | Main Index | Thread Index | Old Index