diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2020-07-16 17:14:53 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2020-07-16 17:14:53 +0000 |
commit | f95000d40874095fe8aa4446be4cd1406023fa15 (patch) | |
tree | 7ad0b3cba0757bc7078a3058510e3f69e084a475 /shells | |
parent | net/wayvnc: update to 0.1.2.140 (snapshot) (diff) |
Cleanly decouple bash from base by reading `profile` from $LOCALBASE/etc/
instead of from /etc.
Document this change in UPDATING and provide a migration strategy.
PR: 247934 (based on)
Submitted by: Michael Osipov <michael.osipov@siemens.com>
Notes
Notes:
svn path=/head/; revision=542373
Diffstat (limited to 'shells')
-rw-r--r-- | shells/bash/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile index d0c01a31d7b3..3ba3d1a91314 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?= 1 +PORTREVISION?= 2 CATEGORIES= shells MASTER_SITES= GNU DISTNAME= ${PORTNAME}-${PORTVERSION:R} @@ -88,6 +88,8 @@ post-patch: -e "s|/\*.*#define SYSLOG_SHOPT .*\*/|#define SYSLOG_SHOPT 1|g" \ ${WRKSRC}/config-top.h .endif + @${REINPLACE_CMD} -e "s|\(/etc/profile\)|${LOCALBASE}\1|" \ + ${WRKSRC}/pathnames.h.in post-patch-SYSBASHRC-on: @${REINPLACE_CMD} \ |