pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go Mark go-package.mk as deprecated.
details: https://anonhg.NetBSD.org/pkgsrc/rev/161fa59b517a
branches: trunk
changeset: 452316:161fa59b517a
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sat May 08 15:55:04 2021 +0000
description:
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).
diffstat:
lang/go/go-package.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 72cba136e1ce -r 161fa59b517a lang/go/go-package.mk
--- a/lang/go/go-package.mk Sat May 08 15:51:28 2021 +0000
+++ b/lang/go/go-package.mk Sat May 08 15:55:04 2021 +0000
@@ -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