pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go Update go to 1.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bfec92e0e754
branches: trunk
changeset: 627822:bfec92e0e754
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sun Dec 15 21:50:34 2013 +0000
description:
Update go to 1.2.
Follow the example of OpenBSD ports and do not run the tests while building.
They are flaky under the Makefile harness for some reason.
diffstat:
lang/go/Makefile | 19 +-
lang/go/PLIST | 453 ++++++++-------
lang/go/distinfo | 10 +-
lang/go/patches/patch-src_pkg_os_signal_signal__test.go | 15 -
lang/go/patches/patch-src_run.bash | 18 -
5 files changed, 263 insertions(+), 252 deletions(-)
diffs (truncated from 1551 to 300 lines):
diff -r 94da7a1f98b7 -r bfec92e0e754 lang/go/Makefile
--- a/lang/go/Makefile Sun Dec 15 20:33:47 2013 +0000
+++ b/lang/go/Makefile Sun Dec 15 21:50:34 2013 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2013/09/24 20:53:48 bsiegert Exp $
+# $NetBSD: Makefile,v 1.3 2013/12/15 21:50:34 bsiegert Exp $
-DISTNAME= go1.1.2.src
-PKGNAME= go-1.1.2
+DISTNAME= go1.2.src
+PKGNAME= go-1.2
CATEGORIES= lang
MASTER_SITES= https://go.googlecode.com/files/
FETCH_USING?= curl
@@ -17,6 +17,8 @@
# uses ulimit -T
BUILD_DEPENDS+= bash>=4.2nb3:../../shells/bash
+.include "../../mk/bsd.prefs.mk"
+
# TODO: other arm platforms?
ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-evbarm
.if ${MACHINE_ARCH} == "i386"
@@ -26,7 +28,7 @@
.elif ${MACHINE_ARCH} == "evbarm"
GOARCH= arm
.endif
-PLIST_SUBST+= GO_PLATFORM=${LOWER_OPSYS:Q}_${GOARCH:Q}
+PLIST_SUBST+= GO_PLATFORM=${LOWER_OPSYS:Q}_${GOARCH:Q} GOARCH=${GOARCH:Q}
# cgo compiles under TMPDIR
TMPDIR?= /tmp
@@ -39,9 +41,11 @@
INSTALLATION_DIRS= bin
REPLACE_BASH+= doc/articles/wiki/test.bash
+REPLACE_BASH+= doc/codewalk/run
REPLACE_BASH+= doc/progs/run
REPLACE_BASH+= doc/progs/update.bash
REPLACE_BASH+= misc/arm/a
+REPLACE_BASH+= misc/cgo/testso/test.bash
REPLACE_BASH+= misc/dist/darwin/scripts/postinstall
REPLACE_BASH+= misc/dist/darwin/scripts/preinstall
REPLACE_BASH+= misc/vim/ftplugin/go/test.sh
@@ -49,14 +53,12 @@
REPLACE_BASH+= src/all.bash
REPLACE_BASH+= src/clean.bash
REPLACE_BASH+= src/cmd/go/test.bash
-REPLACE_BASH+= src/cmd/godoc/setup-godoc-app.bash
REPLACE_BASH+= src/make.bash
REPLACE_BASH+= src/pkg/syscall/mkall.sh
REPLACE_BASH+= src/pkg/syscall/mkerrors.sh
REPLACE_BASH+= src/pkg/syscall/mkerrors_windows.sh
REPLACE_BASH+= src/race.bash
REPLACE_BASH+= src/run.bash
-REPLACE_BASH+= src/run.bash.orig
REPLACE_BASH+= src/sudo.bash
REPLACE_BASH+= test/bench/shootout/timing.sh
REPLACE_BASH+= test/run
@@ -69,6 +71,7 @@
REPLACE_PERL+= src/pkg/syscall/mksyscall_windows.pl
REPLACE_PERL+= src/pkg/syscall/mksysctl_openbsd.pl
REPLACE_PERL+= src/pkg/syscall/mksysnum_darwin.pl
+REPLACE_PERL+= src/pkg/syscall/mksysnum_dragonfly.pl
REPLACE_PERL+= src/pkg/syscall/mksysnum_freebsd.pl
REPLACE_PERL+= src/pkg/syscall/mksysnum_linux.pl
REPLACE_PERL+= src/pkg/syscall/mksysnum_netbsd.pl
@@ -82,12 +85,12 @@
CHECK_INTERPRETER_SKIP+= go/src/run.rc
do-build:
- cd ${WRKSRC}/src && env GOROOT_FINAL=${GOROOT_FINAL:Q} ${BASH} ./all.bash
+ cd ${WRKSRC}/src && env GOROOT_FINAL=${GOROOT_FINAL:Q} ${BASH} ./make.bash
do-install:
cd ${WRKSRC} && rm -f .hgignore .hgtags
cd ${WRKDIR} && pax -rw go ${DESTDIR}${PREFIX}
-.for cmd in go godoc gofmt
+.for cmd in go gofmt
cd ${DESTDIR}${PREFIX}/bin && ln -sf ../go/bin/${cmd} ${cmd}
.endfor
diff -r 94da7a1f98b7 -r bfec92e0e754 lang/go/PLIST
--- a/lang/go/PLIST Sun Dec 15 20:33:47 2013 +0000
+++ b/lang/go/PLIST Sun Dec 15 21:50:34 2013 +0000
@@ -1,6 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2013/09/24 20:53:48 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.3 2013/12/15 21:50:34 bsiegert Exp $
bin/go
-bin/godoc
bin/gofmt
go/AUTHORS
go/CONTRIBUTORS
@@ -11,45 +10,14 @@
go/api/README
go/api/except.txt
go/api/go1.1.txt
+go/api/go1.2.txt
go/api/go1.txt
go/api/next.txt
go/bin/go
-go/bin/godoc
go/bin/gofmt
go/doc/Makefile
-go/doc/articles/c_go_cgo.html
-go/doc/articles/concurrency_patterns.html
-go/doc/articles/defer_panic_recover.html
-go/doc/articles/error_handling.html
go/doc/articles/go_command.html
-go/doc/articles/gobs_of_data.html
-go/doc/articles/godoc_documenting_go_code.html
-go/doc/articles/gos_declaration_syntax.html
-go/doc/articles/image-20.png
-go/doc/articles/image-2a.png
-go/doc/articles/image-2b.png
-go/doc/articles/image-2c.png
-go/doc/articles/image-2d.png
-go/doc/articles/image-2e.png
-go/doc/articles/image-2f.png
-go/doc/articles/image-package-01.png
-go/doc/articles/image-package-02.png
-go/doc/articles/image-package-03.png
-go/doc/articles/image-package-04.png
-go/doc/articles/image-package-05.png
-go/doc/articles/image_draw.html
-go/doc/articles/image_package.html
go/doc/articles/index.html
-go/doc/articles/json_and_go.html
-go/doc/articles/json_rpc_tale_of_interfaces.html
-go/doc/articles/laws_of_reflection.html
-go/doc/articles/race_detector.html
-go/doc/articles/slice-1.png
-go/doc/articles/slice-2.png
-go/doc/articles/slice-3.png
-go/doc/articles/slice-array.png
-go/doc/articles/slice-struct.png
-go/doc/articles/slices_usage_and_internals.html
go/doc/articles/wiki/Makefile
go/doc/articles/wiki/edit.html
go/doc/articles/wiki/final-noclosure.go
@@ -57,9 +25,7 @@
go/doc/articles/wiki/final-parsetemplate.go
go/doc/articles/wiki/final-template.go
go/doc/articles/wiki/final.go
-go/doc/articles/wiki/get.bin
go/doc/articles/wiki/get.go
-go/doc/articles/wiki/htmlify.go
go/doc/articles/wiki/http-sample.go
go/doc/articles/wiki/index.html
go/doc/articles/wiki/notemplate.go
@@ -68,12 +34,12 @@
go/doc/articles/wiki/part2.go
go/doc/articles/wiki/part3-errorhandling.go
go/doc/articles/wiki/part3.go
-go/doc/articles/wiki/srcextract.go
go/doc/articles/wiki/test.bash
go/doc/articles/wiki/test_Test.txt.good
go/doc/articles/wiki/test_edit.good
go/doc/articles/wiki/test_view.good
go/doc/articles/wiki/view.html
+go/doc/asm.html
go/doc/cmd.html
go/doc/code.html
go/doc/codewalk/codewalk.css
@@ -84,6 +50,7 @@
go/doc/codewalk/markov.xml
go/doc/codewalk/pig.go
go/doc/codewalk/popout.png
+go/doc/codewalk/run
go/doc/codewalk/sharemem.xml
go/doc/codewalk/urlpoll.go
go/doc/contrib.html
@@ -99,12 +66,12 @@
go/doc/go-logo-blue.png
go/doc/go-logo-white.png
go/doc/go1.1.html
+go/doc/go1.2.html
go/doc/go1.html
go/doc/go1compat.html
go/doc/go_faq.html
go/doc/go_mem.html
go/doc/go_spec.html
-go/doc/godocs.js
go/doc/gopher/appenginegopher.jpg
go/doc/gopher/appenginegophercolor.jpg
go/doc/gopher/appenginelogo.gif
@@ -134,13 +101,12 @@
go/doc/ie.css
go/doc/install-source.html
go/doc/install.html
-go/doc/jquery.js
go/doc/logo-153x55.png
go/doc/play/fib.go
go/doc/play/hello.go
+go/doc/play/life.go
go/doc/play/peano.go
go/doc/play/pi.go
-go/doc/play/playground.js
go/doc/play/sieve.go
go/doc/play/solitaire.go
go/doc/play/tree.go
@@ -193,13 +159,12 @@
go/doc/progs/timeout1.go
go/doc/progs/timeout2.go
go/doc/progs/update.bash
-go/doc/reference.html
go/doc/root.html
go/doc/share.png
go/doc/sieve.gif
-go/doc/style.css
go/doc/tos.html
go/favicon.ico
+go/include/README
go/include/ar.h
go/include/bio.h
go/include/bootexec.h
@@ -219,17 +184,6 @@
go/include/ureg_arm.h
go/include/ureg_x86.h
go/include/utf.h
-go/lib/godoc/codewalk.html
-go/lib/godoc/codewalkdir.html
-go/lib/godoc/dirlist.html
-go/lib/godoc/error.html
-go/lib/godoc/example.html
-go/lib/godoc/godoc.html
-go/lib/godoc/opensearch.xml
-go/lib/godoc/package.html
-go/lib/godoc/package.txt
-go/lib/godoc/search.html
-go/lib/godoc/search.txt
go/lib/time/README
go/lib/time/update.bash
go/lib/time/zoneinfo.zip
@@ -238,6 +192,9 @@
go/misc/bash/go
go/misc/bbedit/Go.plist
go/misc/benchcmp
+go/misc/cgo/errors/err1.go
+go/misc/cgo/errors/err2.go
+go/misc/cgo/errors/test.bash
go/misc/cgo/gmp/fib.go
go/misc/cgo/gmp/gmp.go
go/misc/cgo/gmp/pi.go
@@ -256,12 +213,15 @@
go/misc/cgo/stdio/run.out
go/misc/cgo/stdio/stdio.go
go/misc/cgo/test/align.go
+go/misc/cgo/test/api.go
go/misc/cgo/test/backdoor/backdoor.go
go/misc/cgo/test/backdoor/runtime.c
go/misc/cgo/test/backdoor/runtime_gccgo.c
go/misc/cgo/test/basic.go
go/misc/cgo/test/callback.go
go/misc/cgo/test/callback_c.c
+go/misc/cgo/test/callback_c_gc.c
+go/misc/cgo/test/callback_c_gccgo.c
go/misc/cgo/test/cflags.go
go/misc/cgo/test/cgo_linux_test.go
go/misc/cgo/test/cgo_test.go
@@ -271,12 +231,15 @@
go/misc/cgo/test/duplicate_symbol.go
go/misc/cgo/test/env.go
go/misc/cgo/test/exports.go
+go/misc/cgo/test/fpvar.go
go/misc/cgo/test/helpers.go
go/misc/cgo/test/issue1222.go
go/misc/cgo/test/issue1328.go
go/misc/cgo/test/issue1560.go
go/misc/cgo/test/issue1635.go
go/misc/cgo/test/issue2462.go
+go/misc/cgo/test/issue3250.go
+go/misc/cgo/test/issue3250w.go
go/misc/cgo/test/issue3261.go
go/misc/cgo/test/issue3729.go
go/misc/cgo/test/issue3729w.go
@@ -289,10 +252,34 @@
go/misc/cgo/test/issue4054b.go
go/misc/cgo/test/issue4273.c
go/misc/cgo/test/issue4273b.c
+go/misc/cgo/test/issue4339.c
+go/misc/cgo/test/issue4339.go
+go/misc/cgo/test/issue4339.h
go/misc/cgo/test/issue4417.go
+go/misc/cgo/test/issue4857.go
go/misc/cgo/test/issue5227.go
+go/misc/cgo/test/issue5337.go
+go/misc/cgo/test/issue5337w.go
+go/misc/cgo/test/issue5548.go
+go/misc/cgo/test/issue5548_c.c
+go/misc/cgo/test/issue5603.go
+go/misc/cgo/test/issue5740.go
+go/misc/cgo/test/issue5740a.c
+go/misc/cgo/test/issue5740b.c
+go/misc/cgo/test/issue5986.go
+go/misc/cgo/test/issue6128.go
+go/misc/cgo/test/issue6390.go
+go/misc/cgo/test/issue6472.go
+go/misc/cgo/test/issue6506.go
+go/misc/cgo/test/issue6612.go
Home |
Main Index |
Thread Index |
Old Index