Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2019 09:12:30 +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: r490233 - in head/devel/bashdb: . files
Message-ID:  <201901140912.x0E9CUIh022691@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Jan 14 09:12:30 2019
New Revision: 490233
URL: https://svnweb.freebsd.org/changeset/ports/490233

Log:
  - 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)

Added:
  head/devel/bashdb/files/
  head/devel/bashdb/files/patch-configure   (contents, props changed)
Modified:
  head/devel/bashdb/Makefile

Modified: head/devel/bashdb/Makefile
==============================================================================
--- head/devel/bashdb/Makefile	Mon Jan 14 09:00:29 2019	(r490232)
+++ head/devel/bashdb/Makefile	Mon Jan 14 09:12:30 2019	(r490233)
@@ -15,6 +15,7 @@ BUILD_DEPENDS=	bash:shells/bash
 RUN_DEPENDS=	bash:shells/bash
 
 USES=		gmake python shebangfix
+
 SHEBANG_FILES=	lib/term-highlight.py
 GNU_CONFIGURE=	yes
 NO_BUILD=	yes

Added: head/devel/bashdb/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/bashdb/files/patch-configure	Mon Jan 14 09:12:30 2019	(r490233)
@@ -0,0 +1,11 @@
+--- 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
+     ;;
+   *)



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