Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2020 06:11:45 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r542245 - head/shells/bash
Message-ID:  <202007150611.06F6BjcM052738@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Jul 15 06:11:45 2020
New Revision: 542245
URL: https://svnweb.freebsd.org/changeset/ports/542245

Log:
  Bash comes with a bundled version of libreadline and compiled with. Start using
  devel/readline by default but provide an option to keep using the bundled one.
  
  PR:		247932 (based on)
  Submitted by:	Michael Osipov <michael.osipov@siemens.com>

Modified:
  head/shells/bash/Makefile

Modified: head/shells/bash/Makefile
==============================================================================
--- head/shells/bash/Makefile	Wed Jul 15 05:34:43 2020	(r542244)
+++ head/shells/bash/Makefile	Wed Jul 15 06:11:45 2020	(r542245)
@@ -4,7 +4,7 @@
 PORTNAME=		bash
 PATCHLEVEL=		18
 PORTVERSION=		5.0.${PATCHLEVEL:S/^0//g}
-PORTREVISION?=		0
+PORTREVISION?=		1
 CATEGORIES=		shells
 MASTER_SITES=		GNU
 DISTNAME=		${PORTNAME}-${PORTVERSION:R}
@@ -22,12 +22,14 @@ COMMENT=		GNU Project's Bourne Again SHell
 LICENSE=		GPLv3+
 LICENSE_FILE=		${WRKSRC}/COPYING
 
-OPTIONS_DEFINE=		FDESCFS HELP NLS STATIC SYSBASHRC SYSLOG DOCS
+OPTIONS_DEFINE=		FDESCFS PORTS_READLINE HELP NLS STATIC SYSBASHRC \
+			SYSLOG DOCS
 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
 
-OPTIONS_DEFAULT=	HELP
+OPTIONS_DEFAULT=	HELP PORTS_READLINE
 
 USES=			bison cpe iconv makeinfo pathfix localbase
 GNU_CONFIGURE=		yes
@@ -40,6 +42,9 @@ FDESCFS_SUB_FILES=	pkg-message
 HELP_CONFIGURE_ENABLE=	help-builtin
 NLS_CONFIGURE_ENABLE=	nls
 NLS_USES=		gettext
+
+PORTS_READLINE_CONFIGURE_WITH=	installed-readline
+PORTS_READLINE_USES=	readline
 
 INFO=			bash
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007150611.06F6BjcM052738>