pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go go-module.mk: "make show-go-modules" now print...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4b0154c570ac
branches: trunk
changeset: 441417:4b0154c570ac
user: tnn <tnn%pkgsrc.org@localhost>
date: Tue Nov 03 18:44:13 2020 +0000
description:
go-module.mk: "make show-go-modules" now prints an rcs id preamble
So that one can do "make show-go-modules > go-modules.mk"
diffstat:
lang/go/go-module.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r e576378e80f0 -r 4b0154c570ac lang/go/go-module.mk
--- a/lang/go/go-module.mk Tue Nov 03 16:41:49 2020 +0000
+++ b/lang/go/go-module.mk Tue Nov 03 18:44:13 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: go-module.mk,v 1.5 2020/08/30 11:52:19 tnn Exp $
+# $NetBSD: go-module.mk,v 1.6 2020/11/03 18:44:13 tnn Exp $
#
# This file implements common logic for compiling Go programs in pkgsrc.
#
@@ -56,6 +56,7 @@
.PHONY: show-go-modules
show-go-modules: ${WRKDIR}/.extract_done
${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} GOPROXY= ${GO} mod download -x
+ ${RUN} ${PRINTF} '# $$%s$$\n\n' NetBSD
${RUN} cd ${WRKDIR}/.gopath/pkg/mod/cache/download && ${FIND} . -type f -a \( -name "*.mod" -o -name "*.zip" \) | ${SED} -e 's/\.\//GO_MODULE_FILES+= /' | ${SORT}
DISTFILES?= ${DEFAULT_DISTFILES}
Home |
Main Index |
Thread Index |
Old Index