From c99703b07b0e31aa372a0e9af7c0e2a3d03ef2c0 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 26 Feb 2018 17:48:56 +0100 Subject: [PATCH] Simplify rules for MacPorts based build --- Compiling.md | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Compiling.md b/Compiling.md index f2d4bdb..9a1a7d8 100644 --- a/Compiling.md +++ b/Compiling.md @@ -295,7 +295,7 @@ sudo port install leptonica git clone https://github.com/tesseract-ocr/tesseract.git cd tesseract ./autogen.sh - ./configure --with-extra-libraries=/opt/local/lib + ./configure make sudo make install ``` @@ -316,16 +316,9 @@ sudo port install icu +devel git clone https://github.com/tesseract-ocr/tesseract/ cd tesseract ./autogen.sh -./configure \ - --with-extra-libraries=/opt/local/lib \ - --with-extra-includes=/opt/local/include \ - LDFLAGS=-L/opt/local/lib \ - CPPFLAGS=-I/opt/local/include -make -sudo make install - +./configure make training -sudo make training-install +sudo make install training-install ``` ## macOS with Homebrew