mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Fix build without git clone in cloned directory
FreeBSD uses git to manage Ports Tree. Tesseract, when building from the Ports Tree, is built from a tarball that doesn't have .git and then git describe is ran on top of the Ports Tree.
This commit is contained in:
parent
f49b6e9f4d
commit
9bf4b31012
@ -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 2>/dev/null || cat VERSION])],
|
||||
[https://github.com/tesseract-ocr/tesseract/issues],,
|
||||
[https://github.com/tesseract-ocr/tesseract/])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user