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:   riastradh
Date:           Sun Jan 19 19:50:03 UTC 2025

Modified Files:
        pkgsrc/lang/go: version.mk

Log Message:
lang/go/version.mk: Use ${TOOLBASE}, not ${PREFIX}, for GO.

This is the command used at compile-time to run the Go toolchain.

Preparation for cross-compiling golang packages.  No change for
native builds because in that case TOOLBASE and PREFIX are the same.


To generate a diff of this commit:
cvs rdiff -u -r1.221 -r1.222 pkgsrc/lang/go/version.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/version.mk
diff -u pkgsrc/lang/go/version.mk:1.221 pkgsrc/lang/go/version.mk:1.222
--- pkgsrc/lang/go/version.mk:1.221     Fri Jan 17 10:33:08 2025
+++ pkgsrc/lang/go/version.mk   Sun Jan 19 19:50:03 2025
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.221 2025/01/17 10:33:08 bsiegert Exp $
+# $NetBSD: version.mk,v 1.222 2025/01/19 19:50:03 riastradh Exp $
 
 #
 # If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -25,7 +25,7 @@ GOVERSSUFFIX=         ${GO_VERSION_DEFAULT}
 .endif
 
 # How to find the Go tool
-GO=                    ${PREFIX}/go${GOVERSSUFFIX}/bin/go
+GO=                    ${TOOLBASE}/go${GOVERSSUFFIX}/bin/go
 
 # Build dependency for Go
 GO_PACKAGE_DEP=                go${GOVERSSUFFIX}-${GO${GOVERSSUFFIX}_VERSION}*:../../lang/go${GOVERSSUFFIX}



Home | Main Index | Thread Index | Old Index