summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2020-07-15 06:11:45 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2020-07-15 06:11:45 +0000
commit62b32406242a17ce22949d65a7699cdac6439b98 (patch)
tree259df58d97d8b52eee2aaa9882ecf5005bb198b3 /shells
parentUpdate to the 202000712 snapshot of GCC 11.0.0. (diff)
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>
Notes
Notes: svn path=/head/; revision=542245
Diffstat (limited to 'shells')
-rw-r--r--shells/bash/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index b3528d3361a0..d0c01a31d7b3 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?= 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
@@ -41,6 +43,9 @@ HELP_CONFIGURE_ENABLE= help-builtin
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
+PORTS_READLINE_CONFIGURE_WITH= installed-readline
+PORTS_READLINE_USES= readline
+
INFO= bash
PORTDOCS= FAQ INTRO CHANGES COMPAT NEWS POSIX RBASH README \