go: fix cross
This commit is contained in:
parent
5bc8ea6819
commit
382f9b87ac
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,6 @@ do_build() {
|
||||||
$GOPATH/src/golang.org/x/tools
|
$GOPATH/src/golang.org/x/tools
|
||||||
|
|
||||||
$GOROOT/bin/go install golang.org/x/tools/cmd/godoc
|
$GOROOT/bin/go install golang.org/x/tools/cmd/godoc
|
||||||
mv ${GOPATH}/bin/godoc ${GOROOT}/bin/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
@ -133,6 +132,7 @@ do_install() {
|
||||||
ln -sfr ${DESTDIR}/usr/share/go/misc ${DESTDIR}/usr/lib/go/misc
|
ln -sfr ${DESTDIR}/usr/share/go/misc ${DESTDIR}/usr/lib/go/misc
|
||||||
|
|
||||||
# For godoc
|
# For godoc
|
||||||
|
vbin ${XBPS_BUILDDIR}/go_gopath/${bindir}/godoc
|
||||||
vinstall favicon.ico 644 usr/lib/go
|
vinstall favicon.ico 644 usr/lib/go
|
||||||
|
|
||||||
rm -f ${DESTDIR}/usr/share/go/doc/articles/wiki/get.bin
|
rm -f ${DESTDIR}/usr/share/go/doc/articles/wiki/get.bin
|
||||||
|
|
Loading…
Reference in a new issue