Ports/fontconfig: Add freetype dependency

When I did a fresh build of ports, I got this while building fontconfig:

```
checking for FREETYPE... no
configure: error: Package requirements (freetype2 >= 21.0.15) were not
met:

No package 'freetype2' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FREETYPE_CFLAGS
and FREETYPE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
```
This commit is contained in:
Luke Wilde 2022-01-31 00:33:35 +00:00 committed by Andreas Kling
parent fb08a5a896
commit 4a69072c3a
Notes: sideshowbarker 2024-07-17 19:57:30 +09:00

View File

@ -3,7 +3,7 @@ port=fontconfig
version=2.13.94
useconfigure="true"
use_fresh_config_sub="true"
depends=("libxml2")
depends=("libxml2" "freetype")
files="https://www.freedesktop.org/software/fontconfig/release/fontconfig-${version}.tar.xz fontconfig-${version}.tar.xz a5f052cb73fd479ffb7b697980510903b563bbb55b8f7a2b001fcfb94026003c"
auth_type="sha256"
configopts=("--prefix=/usr/local" "--enable-libxml2" "LDFLAGS=-ldl -lxml2")