svn commit: r490078 - head/devel/xtensa-esp32-elf

Craig Leres leres at FreeBSD.org
Sat Jan 12 19:52:13 UTC 2019


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


More information about the svn-ports-all mailing list