pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go go/go-package.mk: Avoid to print (all) entries...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f442f078c6b9
branches: trunk
changeset: 381346:f442f078c6b9
user: leot <leot%pkgsrc.org@localhost>
date: Tue Jun 05 15:42:20 2018 +0000
description:
go/go-package.mk: Avoid to print (all) entries in print-PLIST unconditionally
Previously all lines (matching or not /${GO_PLATFORM}/) were printed
unconditionally and could interfere with other PRINT_PLIST_AWKs used by always
printing every line in `print-PLIST' phase.
Avoid that by limiting the pattern of PRINT_PLIST_AWK in go-package.mk.
diffstat:
lang/go/go-package.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7d106a4f276e -r f442f078c6b9 lang/go/go-package.mk
--- a/lang/go/go-package.mk Tue Jun 05 15:39:15 2018 +0000
+++ b/lang/go/go-package.mk Tue Jun 05 15:42:20 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: go-package.mk,v 1.11 2018/01/27 15:49:30 rillig Exp $
+# $NetBSD: go-package.mk,v 1.12 2018/06/05 15:42:20 leot Exp $
#
# This file implements common logic for compiling Go programs in pkgsrc.
#
@@ -66,7 +66,7 @@
GO_PLATFORM= ${LOWER_OPSYS}_${GOARCH}
GOTOOLDIR= ${PREFIX}/go/pkg/tool/${GO_PLATFORM}
-PRINT_PLIST_AWK+= { gsub(/${GO_PLATFORM}/, \
+PRINT_PLIST_AWK+= /${GO_PLATFORM}/ { gsub(/${GO_PLATFORM}/, \
"$${GO_PLATFORM}"); \
print; next; }
Home |
Main Index |
Thread Index |
Old Index