git: 056f940666db - main - x11/wezterm: respect LOCALBASE for cursor icons

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 07 Aug 2022 21:06:17 UTC
The branch main has been updated by jbeich:

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

commit 056f940666db5c9c992ac14a5f97738647c2e441
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-08-07 20:26:44 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-08-07 21:05:53 +0000

    x11/wezterm: respect LOCALBASE for cursor icons
---
 x11/wezterm/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/x11/wezterm/Makefile b/x11/wezterm/Makefile
index 034f2572d9f2..4e90ca038c21 100644
--- a/x11/wezterm/Makefile
+++ b/x11/wezterm/Makefile
@@ -572,6 +572,9 @@ PORTDOCS=		html
 post-patch:
 # Extract (snapshot) version from the port instead of .tag file
 	@${ECHO_CMD} '${DISTVERSIONFULL}' >${WRKSRC}/.tag
+# Respect LOCALBASE for cursors
+	@${REINPLACE_CMD} 's,/usr/share,${LOCALBASE}/share,' \
+		${WRKSRC}/window/src/os/x11/cursor.rs
 
 do-build-DOCS-on:
 # Build HTML documentation similar to ci/build-docs.sh