Mk/Uses/go.mk: Work around symlink creation issue in Poudriere

PR:		253713
Reported by:	Dries Michiels <driesm.michiels@gmail.com>
Reviewed by:	otis
This commit is contained in:
Dmitri Goutnik 2021-02-20 23:30:33 +00:00
parent bc0667a775
commit 4ca93fcde7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566197

View file

@ -161,7 +161,7 @@ _INCLUDE_USES_GO_POST_MK= yes
post-fetch:
@${ECHO_MSG} "===> Fetching ${GO_MODNAME} dependencies";
@(cd ${DISTDIR}/${DIST_SUBDIR}; \
${RLN} ${GO_MODFILE} go.mod; \
[ -e go.mod ] || ${RLN} ${GO_MODFILE} go.mod; \
${SETENV} ${GO_ENV} ${GO_CMD} mod download -x)
.endif