freebsd-ports/devel/bashdb/files/patch-configure
Emanuel Haupt 65bdc70f53 - Fix build with upcoming bash 5.0 update
- While here pacify portlint

PR:		234890
Approved by:	portmgr (blanket - trivial build fix)
Reported by:	antoine (via exp-run)
2019-01-14 09:12:30 +00:00

11 lines
365 B
Text

--- configure.orig 2018-11-17 08:14:41 UTC
+++ configure
@@ -12454,7 +12454,7 @@ bash_major=`$SH_PROG -c 'echo ${BASH_VERSINFO[0]}'`
bash_minor=`$SH_PROG -c 'echo ${BASH_VERSINFO[1]}'`
bash_4_or_greater=no
case "${bash_major}.${bash_minor}" in
- '4.4' | '4.1' | '4.2' | '4.3')
+ '4.4' | '4.1' | '4.2' | '4.3' | '5.0' )
bash_4_or_greater=yes
;;
*)