1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

shells/bash:Prefix '/etc/inputrc' in bundled readline and documentation

Bundled readline now will use LOCALBASE/etc/inputrc as its ultimate
default inputrc file (instead of /etc/inputrc). This puts these ports in
line with what devel/readline has been doing recently (since 20210103).

PR:             255126
Submitted by:   olivier.freebsd@free.fr
This commit is contained in:
Emanuel Haupt 2021-04-16 20:01:43 +02:00
parent 2e4045a9f0
commit a0fcd3d707
2 changed files with 12 additions and 1 deletions

View File

@ -5,6 +5,14 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20210416:
AFFECTS: Users of shells/bash, shells/bash-static with PORTS_READLINE=off
AUTHOR: olce.freebsd@certner.fr
Bundled readline now will use LOCALBASE/etc/inputrc as its ultimate default
inputrc file (instead of /etc/inputrc). This puts these ports in line with
what devel/readline has been doing recently (since 20210103).
20210414:
AFFECTS: users of graphics/OpenEXR or graphics/ilmbase
AUTHOR: mandree@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= bash
PATCHLEVEL= 4
PORTVERSION= 5.1.${PATCHLEVEL:S/^0//g}
PORTREVISION?= 1
PORTREVISION?= 2
CATEGORIES= shells
MASTER_SITES= GNU
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
@ -93,6 +93,9 @@ post-patch:
.endif
@${REINPLACE_CMD} -e "s|\(/etc/profile\)|${LOCALBASE}\1|" \
${WRKSRC}/pathnames.h.in
@${REINPLACE_CMD} -e "s|/etc/[iI]nputrc|${LOCALBASE}/etc/inputrc|g" \
${WRKSRC}/doc/*.info ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.1 \
${WRKSRC}/lib/readline/rlconf.h
post-patch-SYSBASHRC-on:
@${REINPLACE_CMD} \