Date: Mon, 7 May 2018 15:34:42 +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: r469294 - head/devel/xtensa-esp32-elf Message-ID: <201805071534.w47FYgNA050418@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 && \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805071534.w47FYgNA050418>