git: 769c14201f6f - 2025Q4 - shells/bash: Fix documentation bug

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Thu, 16 Oct 2025 19:48:20 UTC
The branch 2025Q4 has been updated by ehaupt:

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

commit 769c14201f6f474378002ca11cec4a2f6d22509c
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2025-10-16 19:46:33 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2025-10-16 19:48:16 +0000

    shells/bash: Fix documentation bug
    
    Point to ${PREFIX}/etc/profile instead of /etc/profile
    
    MFH:            2025Q4
    (cherry picked from commit 083f32ccc2dafbe35f8cba3b10bfaba7cbd74be8)
---
 shells/bash/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 6563d2230266..f320b9b85148 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=		bash
 PATCHLEVEL=		3
 PORTVERSION=		5.3.${PATCHLEVEL:S/^0//g}
-PORTREVISION=		1
+PORTREVISION=		2
 CATEGORIES=		shells
 MASTER_SITES=		GNU
 DISTNAME=		${PORTNAME}-${PORTVERSION:R}
@@ -83,6 +83,7 @@ post-patch:
 	${TOUCH} ${WRKSRC}/parse.y
 	${RM} ${WRKSRC}/y.tab.c
 	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
+		-e "s|\(/etc/profile\)|${PREFIX}\1|g" \
 		${WRKSRC}/doc/bash.1
 .if ${PORT_OPTIONS:MSYSLOG}
 	@${REINPLACE_CMD} \