1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

editors/vscode: add warning for build Error: EMFILE: too many open files

PR:		242871
Suggested by:	Hiroki Tagato <tagattie@yandex.com>
Reported by:	woodsb02
Approved by:	portmgr blanket
This commit is contained in:
Ben Woods 2019-12-30 10:59:42 +00:00
parent baeee6846f
commit cc1dd8761f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521479

View File

@ -100,6 +100,15 @@ POUDRIERE_EXTRACT_ONLY= yarn-offline-cache-${DISTVERSION}${EXTRACT_SUFX} \
vscode-marketplace-exts-${DISTVERSION}${EXTRACT_SUFX}
POUDRIERE_EXTRA_PATCHES= ${FILESDIR}/extra-patch-build_gulpfile.extensions.js
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "The limit imposed by poudriere(8) for the maximum number of files allowed to be"
@${ECHO_MSG} "opened by a jail (default 1024) is exceeded during the build of ${PORTNAME}."
@${ECHO_MSG} "To successfully build ${PORTNAME} with poudriere(8), you must add the following"
@${ECHO_MSG} "line to poudriere.conf:"
@${ECHO_MSG} "MAX_FILES_${PORTNAME}=4096"
@${ECHO_MSG} ""
post-extract:
${MKDIR} ${WRKDIR}/vscode-ripgrep
${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/vscode-ripgrep-${VSCODE_RIPGREP_VER}.tgz \