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: wiz
Date: Tue Feb 13 17:59:42 UTC 2024
Modified Files:
pkgsrc/lang/go: go-module.mk
Log Message:
go: go-modules.mk: add print-go-modules alias for show-go-modules
I always get confused between Rust and Go packages because it's
print-cargo-depends for the one but
show-go-modules for the other.
Adding an alias costs very little and makes lives easier.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 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.11 pkgsrc/lang/go/go-module.mk:1.12
--- pkgsrc/lang/go/go-module.mk:1.11 Sun Feb 11 19:28:18 2024
+++ pkgsrc/lang/go/go-module.mk Tue Feb 13 17:59:42 2024
@@ -1,4 +1,4 @@
-# $NetBSD: go-module.mk,v 1.11 2024/02/11 19:28:18 bsiegert Exp $
+# $NetBSD: go-module.mk,v 1.12 2024/02/13 17:59:42 wiz Exp $
#
# This file implements common logic for compiling Go programs in pkgsrc.
#
@@ -60,8 +60,8 @@ do-install:
${RUN} cd ${WRKDIR}/.gopath && [ ! -d bin ] || ${PAX} -rw bin ${DESTDIR}${PREFIX}
.endif
-.PHONY: show-go-modules
-show-go-modules: ${WRKDIR}/.extract_done
+.PHONY: print-go-modules show-go-modules
+print-go-modules show-go-modules: ${WRKDIR}/.extract_done
${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} GOPROXY= ${GO} mod download -x
.for dir in ${GO_EXTRA_MOD_DIRS}
${RUN} cd ${dir} && ${PKGSRC_SETENV} ${MAKE_ENV} GOPROXY= ${GO} mod download -x
Home |
Main Index |
Thread Index |
Old Index