pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go Actually define the GO_PLATFORM var before usi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e0589ea809f4
branches: trunk
changeset: 651760:e0589ea809f4
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Mon May 11 13:25:35 2015 +0000
description:
Actually define the GO_PLATFORM var before using it. Fixes PLIST generation
for Go packages.
diffstat:
lang/go/go-package.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 0aa3edb4f1dc -r e0589ea809f4 lang/go/go-package.mk
--- a/lang/go/go-package.mk Mon May 11 13:12:06 2015 +0000
+++ b/lang/go/go-package.mk Mon May 11 13:25:35 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: go-package.mk,v 1.4 2015/05/03 15:35:54 bsiegert Exp $
+# $NetBSD: go-package.mk,v 1.5 2015/05/11 13:25:35 bsiegert Exp $
#
# This file implements common logic for compiling Go programs in pkgsrc.
# The compiled Go code is tied to a specific compiler version, and the
@@ -31,7 +31,8 @@
INSTALLATION_DIRS+= bin gopkg
USE_TOOLS+= pax
-GOTOOLDIR= ${PREFIX}/go/pkg/tool/${LOWER_OPSYS}_${GOARCH}
+GO_PLATFORM= ${LOWER_OPSYS}_${GOARCH}
+GOTOOLDIR= ${PREFIX}/go/pkg/tool/${GO_PLATFORM}
PRINT_PLIST_AWK+= { gsub(/${GO_PLATFORM}/, \
"$${GO_PLATFORM}"); \
Home |
Main Index |
Thread Index |
Old Index