git: 81d97816103e - main - x11-clocks/dclock: prepare for freetype2 update
Tobias C. Berner
tcberner at FreeBSD.org
Sat Aug 7 10:12:33 UTC 2021
The branch main has been updated by tcberner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=81d97816103e3ce24b10d700d0de2df470a78eea
commit 81d97816103e3ce24b10d700d0de2df470a78eea
Author: Tobias C. Berner <tcberner at FreeBSD.org>
AuthorDate: 2021-08-07 10:10:18 +0000
Commit: Tobias C. Berner <tcberner at FreeBSD.org>
CommitDate: 2021-08-07 10:11:32 +0000
x11-clocks/dclock: 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-clocks/dclock/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/x11-clocks/dclock/Makefile b/x11-clocks/dclock/Makefile
index 1005afd7bcf1..23757c3deb76 100644
--- a/x11-clocks/dclock/Makefile
+++ b/x11-clocks/dclock/Makefile
@@ -29,8 +29,8 @@ SOX_DESC= Install SOX to play audio
SOX_RUN_DEPENDS= play:audio/sox
XFT_USE= XORG=xft
-XFT_CPPFLAGS= $$(freetype-config --cflags) -DXFT_SUPPORT
-XFT_LDFLAGS= $$(freetype-config --libs) -lXft
+XFT_CPPFLAGS= $$(pkg-config freetype2 --cflags) -DXFT_SUPPORT
+XFT_LDFLAGS= $$(pkg-config freetype2 --libs) -lXft
post-patch:
.for i in Dclock.c Dclock.ad dclock.1
More information about the dev-commits-ports-all
mailing list