summaryrefslogtreecommitdiff
path: root/print/texlive-base/files/patch-texk_ttf2pk2_configure
blob: c4ac27f563ce170bc1eeb425b1b1e0d02d0caa87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- texk/ttf2pk2/configure.orig	2019-03-25 17:27:50 UTC
+++ texk/ttf2pk2/configure
@@ -15266,8 +15266,8 @@ else
   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`