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)
This commit is contained in:
parent
b2d3a90afb
commit
757bd597eb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=490078
1 changed files with 6 additions and 1 deletions
|
@ -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}
|
||||
|
@ -75,6 +76,10 @@ post-extract:
|
|||
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
|
||||
${PRINTF} "#!/bin/sh\necho '${SUBDIR:tl}-${TAGNAME}'\n" > \
|
||||
|
|
Loading…
Reference in a new issue