ports/graphics/sdl_ttf/files/patch-configure
Tobias C. Berner de6064a136 graphics/sdl_ttf: 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:36:08 +02:00

13 lines
405 B
Text

--- configure.orig 2021-08-07 07:33:50 UTC
+++ configure
@@ -12642,8 +12642,8 @@ echo "$as_me: error:
" >&2;}
{ (exit 1); exit 1; }; }
else
- CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
- LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`"
+ CFLAGS="$CFLAGS `pkg-config freetype2 --cflags`"
+ LIBS="$LIBS `pkg-config freetype2 --libs`"
fi
SDL_VERSION=1.2.4