Michael McConville wrote:
> Stuart Henderson wrote:
> > Slight problem with the go update, it breaks build of some ports using
> > the go module:
> > 
> > textproc/go-xlsx
> > net/go-websocket
> > devel/go-check-v1
> > devel/go-tools
> 
> I'm working on an update for go-tools.
> 
> We have a manual install command for cover and vet, but the binaries
> moved from $MODGO_TOOLS to the main binary dir. Not sure if we still
> need them to be be under $MODGO_TOOLS anymore. The below diff leaves a
> copy in both dirs.
> 
> Also, make update-plist isn't recognizing the rc script for me. It says:
> 
> > make-plist: Bogus element outside of every prefix: /etc/rc.d/godoc

I just realized that that tag doesn't make sense to use here. It's a
shame that they don't use releases. We'll have to pick a daily tag to
use, as was the case before.

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/go-tools/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- Makefile  11 Aug 2015 20:15:41 -0000      1.3
> +++ Makefile  6 Dec 2015 18:46:56 -0000
> @@ -3,9 +3,8 @@
>  COMMENT =            various tools for the Go programming language
>  GH_ACCOUNT =         golang
>  GH_PROJECT =         tools
> -GH_COMMIT =          27e692e6ec36d8f48be794f32553e1400c70dbf2
> -DISTNAME =           go-tools-1.4.20150206
> -REVISION =           1
> +GH_TAGNAME =         release-branch.go1.5
> +DISTNAME =           go-tools-1.5
>  CATEGORIES =         devel
>  HOMEPAGE =           http://golang.org/
>  
> @@ -50,7 +49,7 @@ post-patch:
>  post-install:
>       ${INSTALL_DATA_DIR} ${PREFIX}/${MODGO_TOOLS}
>  .for tool in vet cover
> -     ${INSTALL_PROGRAM} ${WRKDIR}/${MODGO_TOOLS}/${tool} \
> +     ${INSTALL_PROGRAM} ${WRKDIR}/go/bin/${tool} \
>                                       ${PREFIX}/${MODGO_TOOLS}/${tool}
>  .endfor
>  
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/go-tools/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- distinfo  8 Jun 2015 09:41:03 -0000       1.1.1.1
> +++ distinfo  6 Dec 2015 18:46:56 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (go-tools-1.4.20150206.tar.gz) = 
> TeD9TrQh23FPay1LlAvHUTuTmEb7ZxsWx/okCb3vf+g=
> -SIZE (go-tools-1.4.20150206.tar.gz) = 1625310
> +SHA256 (go-tools-1.5.tar.gz) = DYZjGq7I0MLKcFbgLIov39ocwqbqPXPI8YU++CyM3ic=
> +SIZE (go-tools-1.5.tar.gz) = 1634851
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/go-tools/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -p -r1.3 PLIST
> --- pkg/PLIST 11 Aug 2015 20:15:41 -0000      1.3
> +++ pkg/PLIST 6 Dec 2015 18:46:56 -0000
> @@ -1,9 +1,7 @@
> -@comment $OpenBSD: PLIST,v 1.3 2015/08/11 20:15:41 jasper Exp $
> -@pkgpath devel/gocover
> -@pkgpath textproc/godoc
> -@conflict stress-*
> +@comment $OpenBSD$
>  @bin bin/benchcmp
>  @bin bin/callgraph
> +@bin bin/cover
>  @bin bin/digraph
>  @bin bin/eg
>  @bin bin/fiximports
> @@ -17,6 +15,6 @@
>  @bin bin/ssadump
>  @bin bin/stress
>  @bin bin/stringer
> +@bin bin/vet
>  @bin ${MODGO_TOOLS}/cover
>  @bin ${MODGO_TOOLS}/vet
> -@rcscript ${RCDIR}/godoc
> 

Reply via email to