x11-toolkits/fox17: prepare for freetype2 update

- freetype2 will no longer ship freetype-config (which was a pkg-config
wrapper) in the near future -- use pkg-config to gather the required
flags.

PR:             251512
This commit is contained in:
Tobias C. Berner 2021-08-07 12:30:56 +02:00
parent e3cc4fcd33
commit 87a690f021

View file

@ -20,14 +20,14 @@ LIB_DEPENDS= libpng.so:graphics/png \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
USES= compiler:c++11-lib gl libtool localbase pathfix xorg
USES= compiler:c++11-lib gl libtool localbase pathfix pkgconfig xorg
USE_GL= gl glu
USE_XORG= ice sm x11 xcursor xext xfixes xft xi xrandr xrender
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-freetype-include="`freetype-config --cflags | sed -e 's|^-I||'`" \
--with-freetype-library="`freetype-config --libs | sed -e 's|^-L||'`" \
CONFIGURE_ARGS= --with-freetype-include="`pkg-config freetype2 --cflags | sed -e 's|^-I||'`" \
--with-freetype-library="`pkg-config freetype2 --libs | sed -e 's|^-L||'`" \
--with-opengl=yes \
--with-xim \
--enable-png \