Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2019 19:52:12 +0000 (UTC)
From:      Craig Leres <leres@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490078 - head/devel/xtensa-esp32-elf
Message-ID:  <201901121952.x0CJqCKY032765@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: leres
Date: Sat Jan 12 19:52:11 2019
New Revision: 490078
URL: https://svnweb.freebsd.org/changeset/ports/490078

Log:
  Patch devel/xtensa-esp32-elf to build with bash 5.0. Tweak Makefile
  variable order as per portlint while we're here.
  
  PR:		234892
  Submitted by:	ehaupt
  Approved by:	ler (mentor, implicit)

Modified:
  head/devel/xtensa-esp32-elf/Makefile

Modified: head/devel/xtensa-esp32-elf/Makefile
==============================================================================
--- head/devel/xtensa-esp32-elf/Makefile	Sat Jan 12 19:49:11 2019	(r490077)
+++ head/devel/xtensa-esp32-elf/Makefile	Sat Jan 12 19:52:11 2019	(r490078)
@@ -53,11 +53,12 @@ BUILD_DEPENDS=	bash:shells/bash \
 		makeinfo:print/texinfo \
 		wget:ftp/wget
 
-NO_MTREE=	yes
 USES=		autoreconf:build bison gmake libtool python
 USE_GCC=	7
 USE_GITHUB=	yes
 USE_LDCONFIG=	${PREFIX}/${PORTNAME}/libexec/gcc/${PORTNAME}/5.2.0
+
+NO_MTREE=	yes
 SUBDIR=		crosstool-NG
 TAGNAME=	1.22.0-80-g6c4433a5
 GH_TUPLE=	espressif:${SUBDIR}:${TAGNAME}
@@ -74,6 +75,10 @@ post-extract:
 .endfor
 	echo CT_LOG_PROGRESS_BAR=n >> \
 	    ${BUILD_WRKSRC}/samples/${PORTNAME}/crosstool.config
+
+post-patch:
+	@${REINPLACE_CMD} -e 's/\(GNU bash, version.*4\)/\1|5/' \
+		${WRKSRC}/configure.ac
 
 do-configure:
 	cd ${BUILD_WRKSRC} && ./bootstrap



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