Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161091552
D23063.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
581 B
Referenced Files
None
Subscribers
None
D23063.diff
View Options
Index: head/Mk/Uses/go.mk
===================================================================
--- head/Mk/Uses/go.mk
+++ head/Mk/Uses/go.mk
@@ -179,7 +179,7 @@
gomod-vendor: patch
@if type ${GO_CMD} > /dev/null 2>&1; then \
if type ${_MODULES2TUPLE_CMD} > /dev/null 2>&1; then \
- cd ${WRKSRC}; ${GO_CMD} mod vendor; \
+ cd ${WRKSRC}; ${SETENV} GOPATH=${WRKDIR}/.gopath GOFLAGS=-modcacherw ${GO_CMD} mod vendor; \
[ -r vendor/modules.txt ] && ${_MODULES2TUPLE_CMD} vendor/modules.txt; \
else \
${ECHO_MSG} "===> Please install \"ports-mgmt/modules2tuple\""; \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 1, 11:53 AM (15 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34558727
Default Alt Text
D23063.diff (581 B)
Attached To
Mode
D23063: Mk/Uses/go.mk: Avoid pollution of Go module cache with modules downloaded by gomod-vendor
Attached
Detach File
Event Timeline
Log In to Comment