Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2022 21:08:26 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6c266c9c9e7b - main - graphics/tesseract: fix build when building from ports
Message-ID:  <202209072108.287L8QKf065948@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6c266c9c9e7b0ac1a35b05fbdeddbc330e4c5f43

commit 6c266c9c9e7b0ac1a35b05fbdeddbc330e4c5f43
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-09-07 21:04:06 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-09-07 21:08:25 +0000

    graphics/tesseract: fix build when building from ports
    
    PR:     265091
    Submitted by:   junchoon@dec.sakura.ne.jp
---
 graphics/tesseract/files/patch-configure.ac | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/graphics/tesseract/files/patch-configure.ac b/graphics/tesseract/files/patch-configure.ac
new file mode 100644
index 000000000000..bd46dd15245d
--- /dev/null
+++ b/graphics/tesseract/files/patch-configure.ac
@@ -0,0 +1,11 @@
+--- configure.ac.orig
++++ configure.ac
+@@ -7,7 +7,7 @@
+ # ----------------------------------------
+ AC_PREREQ([2.69])
+ AC_INIT([tesseract],
+-        [m4_esyscmd_s([git describe --abbrev=4 2>/dev/null || cat VERSION])],
++        [m4_esyscmd_s([test -d .git && git describe --abbrev=4 || cat VERSION])],
+         [https://github.com/tesseract-ocr/tesseract/issues],,
+         [https://github.com/tesseract-ocr/tesseract/])
+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209072108.287L8QKf065948>