git: fcbb3bfd37f8 - main - x11-toolkits/fox16: prepare for freetype2 update

Tobias C. Berner tcberner at FreeBSD.org
Sat Aug 7 10:25:28 UTC 2021


The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fcbb3bfd37f8e62e28e9bfcd127dc5f81c17b6f2

commit fcbb3bfd37f8e62e28e9bfcd127dc5f81c17b6f2
Author:     Tobias C. Berner <tcberner at FreeBSD.org>
AuthorDate: 2021-08-07 10:21:37 +0000
Commit:     Tobias C. Berner <tcberner at FreeBSD.org>
CommitDate: 2021-08-07 10:25:10 +0000

    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
---
 x11-toolkits/fox16/Makefile | 6 +++---
 1 file 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


More information about the dev-commits-ports-main mailing list