aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-08-07 10:21:37 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-08-07 10:25:10 +0000
commitfcbb3bfd37f8e62e28e9bfcd127dc5f81c17b6f2 (patch)
treeac73fd7a1367c8cd671dd2ddc78bc2406edb8a00
parent2df908509325f2ea45a5aed34fe4188a302abe34 (diff)
downloadports-fcbb3bfd37f8e62e28e9bfcd127dc5f81c17b6f2.tar.gz
ports-fcbb3bfd37f8e62e28e9bfcd127dc5f81c17b6f2.zip
x11-toolkits/fox16: 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
-rw-r--r--x11-toolkits/fox16/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/fox16/Makefile b/x11-toolkits/fox16/Makefile
index 2d8e79e0aad9..b35c989a2912 100644
--- a/x11-toolkits/fox16/Makefile
+++ b/x11-toolkits/fox16/Makefile
@@ -47,14 +47,14 @@ XCURSOR_USES= xorg
XCURSOR_USE= xorg=xcursor
XCURSOR_CONFIGURE_ON= --with-xcursor=yes
XCURSOR_CONFIGURE_OFF= --with-xcursor=no
-XFT_USES= xorg
+XFT_USES= pkgconfig xorg
XFT_USE= xorg=xft
XFT_LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
XFT_CONFIGURE_ON= --with-xft=yes
XFT_CONFIGURE_OFF= --with-xft=no
-XFT_CPPFLAGS= $$(freetype-config --cflags)
-XFT_LDFLAGS= $$(freetype-config --libs)
+XFT_CPPFLAGS= $$(pkg-config freetype2 --cflags)
+XFT_LDFLAGS= $$(pkg-config freetype2 --libs)
XFT_IMPLIES= XRENDER
XINPUT_DESC= X Input extension library support
XINPUT_USES= xorg