--- texk/dvipng/configure.orig 2023-12-23 16:57:39 UTC +++ texk/dvipng/configure @@ -17725,8 +17725,8 @@ if $FT2_CONFIG --ftversion >/dev/null 2>&1; then PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" fi if $FT2_CONFIG --ftversion >/dev/null 2>&1; then - FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags` - FREETYPE2_LIBS=`$FT2_CONFIG --libs` + FREETYPE2_INCLUDES=`pkg-config freetype2 --cflags` + FREETYPE2_LIBS=`pkg-config freetype2 --libs` elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2` FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`