pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go Correct definition of GOTOOLDIR, remove PREFIX.
details:   https://anonhg.NetBSD.org/pkgsrc/rev/95345ec5ff4e
branches:  trunk
changeset: 386312:95345ec5ff4e
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sun Oct 14 18:15:34 2018 +0000
description:
Correct definition of GOTOOLDIR, remove PREFIX.
GOTOOLDIR was not updated to use the versioned go directories.
diffstat:
 lang/go/go-package.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ef9a986ad3d1 -r 95345ec5ff4e lang/go/go-package.mk
--- a/lang/go/go-package.mk     Sun Oct 14 17:45:41 2018 +0000
+++ b/lang/go/go-package.mk     Sun Oct 14 18:15:34 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: go-package.mk,v 1.18 2018/09/22 19:44:21 bsiegert Exp $
+# $NetBSD: go-package.mk,v 1.19 2018/10/14 18:15:34 bsiegert Exp $
 #
 # This file implements common logic for compiling Go programs in pkgsrc.
 #
@@ -63,7 +63,7 @@
 BUILD_DEPENDS+=                ${GO_PACKAGE_DEP}
 
 GO_PLATFORM=           ${LOWER_OPSYS}_${GOARCH}
-GOTOOLDIR=             ${PREFIX}/go/pkg/tool/${GO_PLATFORM}
+GOTOOLDIR=             go${GOVERSSUFFIX}/pkg/tool/${GO_PLATFORM}
 
 PRINT_PLIST_AWK+=      /${GO_PLATFORM}/ { gsub(/${GO_PLATFORM}/, \
                        "$${GO_PLATFORM}"); \
Home |
Main Index |
Thread Index |
Old Index