git: b3d840c12149 - main - x11-wm/i3: fix hardcoded PREFIX

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Mon, 16 Jun 2025 14:56:47 UTC
The branch main has been updated by osa:

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

commit b3d840c12149cf5b64695905a447d7fc5db98aeb
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2025-06-16 14:56:16 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2025-06-16 14:56:16 +0000

    x11-wm/i3: fix hardcoded PREFIX
    
    Bump PORTREVISION.
    
    Reported by:    Edward Sanford Sutton, III <mirror176@hotmail.com> (via email)
    Approved by:    bapt (maintainer, implicit)
    Fixes:          b998385f30f4384bb6f5c7de4edd55af309c9ae2
---
 x11-wm/i3/Makefile             | 2 +-
 x11-wm/i3/files/patch-man_i3.1 | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-wm/i3/Makefile b/x11-wm/i3/Makefile
index 9a57598f09bd..bff1476d0ac7 100644
--- a/x11-wm/i3/Makefile
+++ b/x11-wm/i3/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	i3
 DISTVERSION=	4.24
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-wm
 MASTER_SITES=	https://i3wm.org/downloads/ \
 		http://i3wm.org/downloads/
diff --git a/x11-wm/i3/files/patch-man_i3.1 b/x11-wm/i3/files/patch-man_i3.1
index 176fc478c2ef..c9a347c00b9c 100644
--- a/x11-wm/i3/files/patch-man_i3.1
+++ b/x11-wm/i3/files/patch-man_i3.1
@@ -5,7 +5,7 @@
  .IP "  3." 4.2
  .\}
 -/etc/xdg/i3/config (or $XDG_CONFIG_DIRS/i3/config if set)
-+/usr/local/etc/xdg/i3/config (or $XDG_CONFIG_DIRS/i3/config if set)
++%%PREFIX%%/etc/xdg/i3/config (or $XDG_CONFIG_DIRS/i3/config if set)
  .RE
  .sp
  .RS 4
@@ -14,7 +14,7 @@
  .IP "  4." 4.2
  .\}
 -/etc/i3/config
-+/usr/local/etc/i3/config
++%%PREFIX%%/etc/i3/config
  .RE
  .sp
  You can specify a custom path using the \-c option\&.