svn commit: r469294 - head/devel/xtensa-esp32-elf
Craig Leres
leres at FreeBSD.org
Mon May 7 15:34:43 UTC 2018
Author: leres
Date: Mon May 7 15:34:42 2018
New Revision: 469294
URL: https://svnweb.freebsd.org/changeset/ports/469294
Log:
Fix build as non-root user (BUILD_AS_NON_ROOT=yes in poudriere.conf)
reported by pkg-fallout. While we're at it turn off annoying
CT_LOG_PROGRESS_BAR spinner (which also makes the build log huge).
Reviewed by: matthew (mentor)
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D15312
Modified:
head/devel/xtensa-esp32-elf/Makefile
Modified: head/devel/xtensa-esp32-elf/Makefile
==============================================================================
--- head/devel/xtensa-esp32-elf/Makefile Mon May 7 15:25:36 2018 (r469293)
+++ head/devel/xtensa-esp32-elf/Makefile Mon May 7 15:34:42 2018 (r469294)
@@ -66,6 +66,8 @@ post-extract:
${LN} -s ${DISTDIR}/${F:C/:source[0-9]+$//} \
${BUILD_WRKSRC}/.build/tarballs
.endfor
+ echo CT_LOG_PROGRESS_BAR=n >> \
+ ${BUILD_WRKSRC}/samples/${PORTNAME}/crosstool.config
do-configure:
cd ${BUILD_WRKSRC} && ./bootstrap
@@ -81,7 +83,9 @@ do-configure:
do-build:
cd ${BUILD_WRKSRC} && ${SETENV} ${BUILD_ENV} ./ct-ng build
cd ${BUILD_WRKSRC}/builds/${PORTNAME} && \
- ${RM} build.log.bz2 lib/charset.alias
+ ${CHMOD} +w . lib && \
+ ${RM} build.log.bz2 lib/charset.alias && \
+ ${CHMOD} -w . lib
do-install:
cd ${BUILD_WRKSRC}/builds && \
More information about the svn-ports-all
mailing list