Date: Sat, 20 Feb 2021 23:30:34 +0000 (UTC) From: Dmitri Goutnik <dmgk@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566197 - head/Mk/Uses Message-ID: <202102202330.11KNUYp8065150@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dmgk Date: Sat Feb 20 23:30:33 2021 New Revision: 566197 URL: https://svnweb.freebsd.org/changeset/ports/566197 Log: Mk/Uses/go.mk: Work around symlink creation issue in Poudriere PR: 253713 Reported by: Dries Michiels <driesm.michiels@gmail.com> Reviewed by: otis Modified: head/Mk/Uses/go.mk Modified: head/Mk/Uses/go.mk ============================================================================== --- head/Mk/Uses/go.mk Sat Feb 20 23:15:12 2021 (r566196) +++ head/Mk/Uses/go.mk Sat Feb 20 23:30:33 2021 (r566197) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102202330.11KNUYp8065150>