summaryrefslogtreecommitdiff
path: root/print/texlive-base/files/patch-texk_ttf2pk2_configure
blob: 186ffc2d57ee26e6b1d8220822569e318fa997e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- texk/ttf2pk2/configure.orig	2023-12-23 16:57:39 UTC
+++ texk/ttf2pk2/configure
@@ -16465,8 +16465,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`