svn commit: r566197 - head/Mk/Uses

Dmitri Goutnik dmgk at FreeBSD.org
Sat Feb 20 23:30:34 UTC 2021


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 at 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
 


More information about the svn-ports-all mailing list