summaryrefslogtreecommitdiff
path: root/shells/bash/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2020-08-24 19:03:08 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2020-08-24 19:03:08 +0000
commitb83961e1e30e33dcfdacc0fd30ac6c459a5ae2fa (patch)
tree9e8fcb431064c0c662bacdcff8a7048fa9812614 /shells/bash/Makefile
parentlang/libobjc2: update to 2.1 (diff)
Update manual page to refer to ${LOCALBASE}/etc/profile instead of /etc/profile.
See also ports/UPDATING (entry 20200716). PR: 248805 (based on) Submitted by: 0mp
Notes
Notes: svn path=/head/; revision=546106
Diffstat (limited to 'shells/bash/Makefile')
-rw-r--r--shells/bash/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 3ba3d1a91314..8b11b76e2f26 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -4,7 +4,7 @@
PORTNAME= bash
PATCHLEVEL= 18
PORTVERSION= 5.0.${PATCHLEVEL:S/^0//g}
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= shells
MASTER_SITES= GNU
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
@@ -81,7 +81,8 @@ post-patch:
# Ensure y.tab.c is regenerated
${TOUCH} ${WRKSRC}/parse.y
${RM} ${WRKSRC}/y.tab.c
- @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/bash.1
+ @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
+ ${WRKSRC}/doc/bash.1
.if ${PORT_OPTIONS:MSYSLOG}
@${REINPLACE_CMD} \
-e "s|/\*.*#define SYSLOG_HISTORY .*\*/|#define SYSLOG_HISTORY|g" \