git: a87b77d09215 - 2024Q3 - x11-fonts/fontconfig: Fix pkg-message %%LOCALBASE%% replacement

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 20 Jul 2024 08:30:45 UTC
The branch 2024Q3 has been updated by eduardo:

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

commit a87b77d09215b5e38fe5ddcbe473f1656d7cf82b
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-07-20 08:07:28 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-07-20 08:13:55 +0000

    x11-fonts/fontconfig: Fix pkg-message %%LOCALBASE%% replacement
    
    PR:             280358
    Reported by:    sjrbulk@verizon.net
    Approved by:    arrowd
    MFH:            2024Q3
    
    (cherry picked from commit 0fff9ad2c85297b26e2f181b051480075015bb86)
---
 x11-fonts/fontconfig/Makefile                              | 5 ++++-
 x11-fonts/fontconfig/{pkg-message => files/pkg-message.in} | 0
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/x11-fonts/fontconfig/Makefile b/x11-fonts/fontconfig/Makefile
index 09964520b7c3..1418e8e48fe5 100644
--- a/x11-fonts/fontconfig/Makefile
+++ b/x11-fonts/fontconfig/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fontconfig
 DISTVERSION=	2.15.0
-PORTREVISION=	2
+PORTREVISION=	3
 PORTEPOCH=	1
 CATEGORIES=	x11-fonts
 MASTER_SITES=	https://www.freedesktop.org/software/${PORTNAME}/release/
@@ -27,6 +27,9 @@ SHEBANG_FILES=	conf.d/link_confs.py \
 
 TEST_TARGET=	test
 
+SUB_FILES=	pkg-message
+SUB_LIST=	LOCALBASE=${LOCALBASE}
+
 # To avoid circular dependency rebuild of docs (including manpages) needs to be
 # disabled as they depend on textproc/docbook-utils which requires fontconfig
 MESON_ARGS=	-Ddefault_library=both -Ddoc=disabled -Dcache-build=disabled \
diff --git a/x11-fonts/fontconfig/pkg-message b/x11-fonts/fontconfig/files/pkg-message.in
similarity index 100%
rename from x11-fonts/fontconfig/pkg-message
rename to x11-fonts/fontconfig/files/pkg-message.in