pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/go



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Feb 18 18:02:58 UTC 2020

Modified Files:
        pkgsrc/lang/go: go-package.mk

Log Message:
Forcibly turn off Go module support.

We don't currently build any packages using modules, and the switch to
newer versions of Go has resulted in the default changing to modules
being sometimes enabled.
This now causes random packages to begin fetching from the Internet during
builds, which goes against pkgsrc policy.

Doesn't seem to harm the ability to build a random subset of the Go packages
in pkgsrc.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/lang/go/go-package.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/go/go-package.mk
diff -u pkgsrc/lang/go/go-package.mk:1.23 pkgsrc/lang/go/go-package.mk:1.24
--- pkgsrc/lang/go/go-package.mk:1.23   Tue Sep 10 20:19:54 2019
+++ pkgsrc/lang/go/go-package.mk        Tue Feb 18 18:02:58 2020
@@ -1,4 +1,4 @@
-# $NetBSD: go-package.mk,v 1.23 2019/09/10 20:19:54 rillig Exp $
+# $NetBSD: go-package.mk,v 1.24 2020/02/18 18:02:58 maya Exp $
 #
 # This file implements common logic for compiling Go programs in pkgsrc.
 #
@@ -68,6 +68,7 @@ PRINT_PLIST_AWK+=     /^@pkgdir gopkg$$/ { n
 
 MAKE_ENV+=     GOPATH=${WRKDIR}:${BUILDLINK_DIR}/gopkg
 MAKE_ENV+=     GOCACHE=${WRKDIR}/.cache/go-build
+MAKE_ENV+=     GO111MODULE=off
 
 .if !target(post-extract)
 post-extract:



Home | Main Index | Thread Index | Old Index