summaryrefslogtreecommitdiff
path: root/print/texlive-base/files/patch-texk_ttf2pk2_configure
diff options
context:
space:
mode:
Diffstat (limited to 'print/texlive-base/files/patch-texk_ttf2pk2_configure')
-rw-r--r--print/texlive-base/files/patch-texk_ttf2pk2_configure12
1 files changed, 6 insertions, 6 deletions
diff --git a/print/texlive-base/files/patch-texk_ttf2pk2_configure b/print/texlive-base/files/patch-texk_ttf2pk2_configure
index dd8650b1202c..c4ac27f563ce 100644
--- a/print/texlive-base/files/patch-texk_ttf2pk2_configure
+++ b/print/texlive-base/files/patch-texk_ttf2pk2_configure
@@ -1,13 +1,13 @@
---- texk/ttf2pk2/configure.orig 2021-08-02 22:17:04 UTC
+--- texk/ttf2pk2/configure.orig 2019-03-25 17:27:50 UTC
+++ texk/ttf2pk2/configure
-@@ -15108,8 +15108,8 @@ else
- FT2_CONFIG="$ac_cv_prog_FT2_CONFIG"
+@@ -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 test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
- as_fn_error $? "did not find freetype-config required for system freetype2 library" "$LINENO" 5
- fi
+ elif $PKG_CONFIG --libs freetype2 >/dev/null 2>&1; then
+ FREETYPE2_INCLUDES=`$PKG_CONFIG --cflags freetype2`
+ FREETYPE2_LIBS=`$PKG_CONFIG --libs freetype2`