ports/graphics/ocaml-images/files/patch-configure
Tobias C. Berner e88dd7a0da graphics/ocaml-images: prepare for freetype2 update
- freetype2 will no longer ship freetype-config (which was a pkg-config
wrapper) in the near future -- use pkg-config to gather the required
flags.

PR:             251512
2021-08-07 09:30:08 +02:00

13 lines
335 B
Text

--- configure.orig 2021-08-07 07:17:08 UTC
+++ configure
@@ -8108,8 +8108,8 @@ fi
if test -n "$FREETYPE_CONFIG"; then
- LIBFREETYPE=`freetype-config --libs`
- INCFREETYPE=`freetype-config --cflags`
+ LIBFREETYPE=`pkg-config freetype2 --libs`
+ INCFREETYPE=`pkg-config freetype2 --cflags`
SUPPORT_FREETYPE="true"
fi
fi