Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2025 13:42:17 +0000
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 336bb48b75e9 - main - shells/bash: Reintroduce PORTS_READLINE
Message-ID:  <6929a6b9.24a8c.2bb73e14@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=336bb48b75e99897a13bd33f1027c03101436296

commit 336bb48b75e99897a13bd33f1027c03101436296
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2025-11-28 13:42:04 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2025-11-28 13:42:10 +0000

    shells/bash: Reintroduce PORTS_READLINE
    
    Now that readline has been updated to 8.3, the option to use the library from
    ports rather than the bundled version can be restored. The option remains
    disabled by default to avoid unexpected build or runtime changes for users
    and to maintain consistency with previous releases.
    
    PR:             288208
---
 shells/bash/Makefile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 4c3e2e1de1e8..ae0ddbec6b9e 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=		bash
 PATCHLEVEL=		8
 PORTVERSION=		5.3.${PATCHLEVEL:S/^0//g}
+PORTREVISION=		1
 CATEGORIES=		shells
 MASTER_SITES=		GNU
 DISTNAME=		${PORTNAME}-${PORTVERSION:R}
@@ -33,13 +34,14 @@ INFO=			bash
 PORTDOCS=		FAQ INTRO CHANGES COMPAT NEWS POSIX RBASH README \
 			bash.html bashref.html
 
-OPTIONS_DEFINE=		FDESCFS HELP NLS STATIC SYSBASHRC \
+OPTIONS_DEFINE=		FDESCFS PORTS_READLINE HELP NLS STATIC SYSBASHRC \
 			SYSLOG DOCS
 OPTIONS_DEFAULT=	HELP SYSBASHRC
 OPTIONS_SUB=		yes
 
 FDESCFS_DESC=		Enable use of /dev/fd
 HELP_DESC=		Enable builtin help
+PORTS_READLINE_DESC=	libreadline from ports instead of bundled one
 SYSBASHRC_DESC=		Enable system-wide rc files
 
 FDESCFS_CONFIGURE_ENV_OFF=	bash_cv_dev_fd=absent
@@ -49,11 +51,9 @@ HELP_CONFIGURE_ENABLE=	help-builtin
 NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
 
-# Needs readline 8.3
-# See: 288208, 288207
-#PORTS_READLINE_BUILD_DEPENDS=	readline>=8.2:devel/readline
-#PORTS_READLINE_USES=	readline
-#PORTS_READLINE_CONFIGURE_WITH=	installed-readline
+PORTS_READLINE_BUILD_DEPENDS=	readline>=8.3:devel/readline
+PORTS_READLINE_USES=	readline
+PORTS_READLINE_CONFIGURE_WITH=	installed-readline
 
 .if empty(PKGNAMESUFFIX)
 CONFLICTS+=	bash-static


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6929a6b9.24a8c.2bb73e14>