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:   bsiegert
Date:           Sat May  8 15:55:04 UTC 2021

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

Log Message:
Mark go-package.mk as deprecated.

Module-based builds are the default way to build software in Go as of Go
1.16. go-package.mk implements the older GOPATH-based build type, which
will go away in one of the next Go releases (probably in early 2022).


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 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.25 pkgsrc/lang/go/go-package.mk:1.26
--- pkgsrc/lang/go/go-package.mk:1.25   Mon Mar 30 19:33:13 2020
+++ pkgsrc/lang/go/go-package.mk        Sat May  8 15:55:04 2021
@@ -1,7 +1,11 @@
-# $NetBSD: go-package.mk,v 1.25 2020/03/30 19:33:13 joerg Exp $
+# $NetBSD: go-package.mk,v 1.26 2021/05/08 15:55:04 bsiegert Exp $
 #
 # This file implements common logic for compiling Go programs in pkgsrc.
 #
+# PLEASE NOTE: Do not add new uses of this file to pkgsrc, particularly if
+# the package you want to add contains a "go.mod" file. Use go-module.mk
+# instead.
+#
 # === Package-settable variables ===
 #
 # GO_SRCPATH (required)



Home | Main Index | Thread Index | Old Index