From f95000d40874095fe8aa4446be4cd1406023fa15 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Thu, 16 Jul 2020 17:14:53 +0000 Subject: 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 --- shells/bash/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shells') 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} \ -- cgit v1.2.3