diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-05-07 14:58:23 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-05-07 14:59:02 +0200 |
commit | e4a3c2ef0e7dad033886a82881e495c4ef67453a (patch) | |
tree | 162c0dc5e567baa52aed4bed5da59bce7b6598c5 /media-gfx/inkscape/files/inkscape-0.92.3-freetype_pkgconfig.patch | |
parent | app-i18n/fbterm: tidy (diff) | |
download | gentoo-e4a3c2ef0e7dad033886a82881e495c4ef67453a.tar.gz gentoo-e4a3c2ef0e7dad033886a82881e495c4ef67453a.tar.bz2 gentoo-e4a3c2ef0e7dad033886a82881e495c4ef67453a.zip |
media-gfx/inkscape: Use pkg-config to find freetype
Bug: https://bugs.gentoo.org/655130
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'media-gfx/inkscape/files/inkscape-0.92.3-freetype_pkgconfig.patch')
-rw-r--r-- | media-gfx/inkscape/files/inkscape-0.92.3-freetype_pkgconfig.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/media-gfx/inkscape/files/inkscape-0.92.3-freetype_pkgconfig.patch b/media-gfx/inkscape/files/inkscape-0.92.3-freetype_pkgconfig.patch new file mode 100644 index 000000000000..0f577bd0e9ab --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.92.3-freetype_pkgconfig.patch @@ -0,0 +1,18 @@ +--- inkscape-0.92.3/configure.ac ++++ inkscape-0.92.3/configure.ac +@@ -252,12 +252,9 @@ + [#include <malloc.h>]) + ]) + +-AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) +-if test "x$FREETYPE_CONFIG" = "xno"; then +- AC_MSG_ERROR([Cannot find freetype-config]) +-fi +-FREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags` +-FREETYPE_LIBS=`$FREETYPE_CONFIG --libs` ++PKG_CHECK_MODULES(FREETYPE, freetype2,, ++ AC_MSG_ERROR([Cannot find freetype]) ++) + AC_SUBST(FREETYPE_CFLAGS) + AC_SUBST(FREETYPE_LIBS) + |