git: 9e8a524e9505 - main - x11/xapp: Patch the hardcoded /usr/bin path with ${PREFIX}

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Tue, 15 Jul 2025 07:38:06 UTC
The branch main has been updated by arrowd:

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

commit 9e8a524e9505523dec497fbf04d4abbf5feaec3a
Author:     Pavel Timofeev <timp87@gmail.com>
AuthorDate: 2025-07-15 07:05:28 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-07-15 07:37:59 +0000

    x11/xapp: Patch the hardcoded /usr/bin path with ${PREFIX}
    
    PR:             288226
---
 x11/xapp/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/x11/xapp/Makefile b/x11/xapp/Makefile
index e0c3b57618a5..b0a81033e525 100644
--- a/x11/xapp/Makefile
+++ b/x11/xapp/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xapp
 DISTVERSION=	2.8.9
+PORTREVISION=	1
 CATEGORIES=	x11 gnome
 DIST_SUBDIR=	gnome
 
@@ -53,4 +54,8 @@ VAPI_IMPLIES=		INTROSPECTION
 XFCE_DESC=		Install xfce specific items
 XFCE_MESON_TRUE=	xfce
 
+post-patch:
+	${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|g' \
+		${WRKSRC}/scripts/upload-system-info
+
 .include <bsd.port.mk>