pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go Fix install on Linux and SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d77b98305725
branches: trunk
changeset: 351883:d77b98305725
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Aug 31 14:15:33 2016 +0000
description:
Fix install on Linux and SunOS.
diffstat:
lang/go/Makefile | 10 +++++++++-
lang/go/PLIST | 4 ++--
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (42 lines):
diff -r 03f6fbeff29a -r d77b98305725 lang/go/Makefile
--- a/lang/go/Makefile Wed Aug 31 13:57:59 2016 +0000
+++ b/lang/go/Makefile Wed Aug 31 14:15:33 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2016/08/20 06:22:38 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2016/08/31 14:15:33 jperkin Exp $
.include "version.mk"
@@ -72,6 +72,14 @@
BUILD_DEPENDS+= go14-1.4*:../../lang/go14
GOROOT_BOOTSTRAP= ${PREFIX}/go14
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= route
+
+.if ${OPSYS} != "Linux" && ${OPSYS} != "SunOS"
+PLIST.route= yes
+.endif
+
pre-build:
cd ${WRKSRC}/src/syscall && \
env GOOS=${LOWER_OPSYS:Q} GOARCH=${GOARCH:Q} \
diff -r 03f6fbeff29a -r d77b98305725 lang/go/PLIST
--- a/lang/go/PLIST Wed Aug 31 13:57:59 2016 +0000
+++ b/lang/go/PLIST Wed Aug 31 14:15:33 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2016/08/19 09:38:06 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.26 2016/08/31 14:15:33 jperkin Exp $
bin/go
bin/gofmt
go/AUTHORS
@@ -1038,7 +1038,7 @@
go/pkg/${GO_PLATFORM}/unicode/utf8.a
go/pkg/${GO_PLATFORM}/vendor/golang_org/x/net/http2/hpack.a
go/pkg/${GO_PLATFORM}/vendor/golang_org/x/net/lex/httplex.a
-go/pkg/${GO_PLATFORM}/vendor/golang_org/x/net/route.a
+${PLIST.route}go/pkg/${GO_PLATFORM}/vendor/golang_org/x/net/route.a
go/pkg/tool/${GO_PLATFORM}/addr2line
go/pkg/tool/${GO_PLATFORM}/api
go/pkg/tool/${GO_PLATFORM}/asm
Home |
Main Index |
Thread Index |
Old Index