diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-09-07 23:04:06 +0200 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2022-09-07 23:08:25 +0200 |
commit | 6c266c9c9e7b0ac1a35b05fbdeddbc330e4c5f43 (patch) | |
tree | b0fdac0a9b498bf21a4478ec04b961b759e9e7f2 | |
parent | 4747d3fcdd2520f83b1274ba1e25087f031d4371 (diff) | |
download | freebsd-ports-6c266c9c9e7b0ac1a35b05fbdeddbc330e4c5f43.zip |
graphics/tesseract: fix build when building from ports
PR: 265091
Submitted by: junchoon@dec.sakura.ne.jp
-rw-r--r-- | graphics/tesseract/files/patch-configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
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/]) + |