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:   tnn
Date:           Tue Nov  3 18:44:13 UTC 2020

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

Log Message:
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"


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/go/go-module.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-module.mk
diff -u pkgsrc/lang/go/go-module.mk:1.5 pkgsrc/lang/go/go-module.mk:1.6
--- pkgsrc/lang/go/go-module.mk:1.5     Sun Aug 30 11:52:19 2020
+++ pkgsrc/lang/go/go-module.mk Tue Nov  3 18:44:13 2020
@@ -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 @@ do-install:
 .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