pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go14 Disable cgo, bump PKGREVISION.
details: https://anonhg.NetBSD.org/pkgsrc/rev/87b539023046
branches: trunk
changeset: 367486:87b539023046
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sat Sep 02 17:15:00 2017 +0000
description:
Disable cgo, bump PKGREVISION.
"The bitrot will continue until morale improves."
Go 1.4 is only used as a bootstrap helper to compile a more recent Go.
However, cgo in 1.4 no longer works with current binutils.
Prodded by Thomas Orgis on the mailing list.
diffstat:
lang/go14/Makefile | 9 ++++++---
lang/go14/PLIST | 3 +--
2 files changed, 7 insertions(+), 5 deletions(-)
diffs (52 lines):
diff -r 678b514711d3 -r 87b539023046 lang/go14/Makefile
--- a/lang/go14/Makefile Sat Sep 02 16:53:36 2017 +0000
+++ b/lang/go14/Makefile Sat Sep 02 17:15:00 2017 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.12 2017/07/22 19:32:41 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2017/09/02 17:15:00 bsiegert Exp $
.include "../../lang/go/version.mk"
DISTNAME= go${GO14_VERSION}.src
PKGNAME= go14-${GO14_VERSION}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= lang
MASTER_SITES= https://storage.googleapis.com/golang/
PATCH_SITES= https://codereview.appspot.com/download/
@@ -27,6 +27,9 @@
GOROOT_FINAL= ${PREFIX}/go14
INSTALLATION_DIRS= go14
+MAKE_ENV+= GOROOT_FINAL=${GOROOT_FINAL:Q}
+MAKE_ENV+= CGO_ENABLED=0
+
REPLACE_BASH+= doc/articles/wiki/test.bash
REPLACE_BASH+= doc/codewalk/run
REPLACE_BASH+= doc/progs/run
@@ -76,7 +79,7 @@
CHECK_INTERPRETER_SKIP+= go14/src/run.rc
do-build:
- cd ${WRKSRC}/src && env GOROOT_FINAL=${GOROOT_FINAL:Q} ${BASH} ./make.bash
+ cd ${WRKSRC}/src && ${PKGSRC_SETENV} ${MAKE_ENV} ${BASH} ./make.bash
do-install:
cd ${WRKSRC} && rm -rf .hgignore .hgtags pkg/obj
diff -r 678b514711d3 -r 87b539023046 lang/go14/PLIST
--- a/lang/go14/PLIST Sat Sep 02 16:53:36 2017 +0000
+++ b/lang/go14/PLIST Sat Sep 02 17:15:00 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2015/09/26 17:37:01 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/09/02 17:15:00 bsiegert Exp $
go14/AUTHORS
go14/CONTRIBUTORS
go14/LICENSE
@@ -492,7 +492,6 @@
go14/pkg/${GO_PLATFORM}/regexp/syntax.a
go14/pkg/${GO_PLATFORM}/runtime.a
go14/pkg/${GO_PLATFORM}/runtime.h
-go14/pkg/${GO_PLATFORM}/runtime/cgo.a
go14/pkg/${GO_PLATFORM}/runtime/debug.a
go14/pkg/${GO_PLATFORM}/runtime/pprof.a
go14/pkg/${GO_PLATFORM}/runtime/race.a
Home |
Main Index |
Thread Index |
Old Index