I just tried this myself and configure is automatically picking up my
freetype from brew in /usr/local/opt/freetype/. Looking at my log, this
is done using pkg-config from brew. So you could try installing
pkg-config (brew install pkg-config). You can also try adding
--with-freetype=/usr/local/opt/freetype if that's where brew installed
it for you.
On 2018-02-11 22:51, mbl wrote:
OS: macOS High Sierra, version 10.13.2
Repo : https://github.com/dmlloyd/openjdk.git
Branch : jdk/jdk
mbldeMacBook-Pro:openjdk mbl$ bash ./configure
configure: Configuration created at Mon Feb 12 14:43:36 CST 2018.
configure: error: Could not find freetype! You might be able to fix this by
running 'brew install freetype'.
/projects/jdpros/openjdk/.build/generated-configure.sh: line 82: 5: Bad file
configure exiting with result code 1
mbldeMacBook-Pro:openjdk mbl$ sudo brew install freetype
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
mbldeMacBook-Pro:openjdk mbl$ brew install freetype
Warning: freetype 2.9 is already installed
What can I do?