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/465df5127b65
branches:  trunk
changeset: 313941:465df5127b65
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 891c2695c89d -r 465df5127b65 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