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
|
||||
|
||||
$GOROOT/bin/go install golang.org/x/tools/cmd/godoc
|
||||
mv ${GOPATH}/bin/godoc ${GOROOT}/bin/
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
@ -133,6 +132,7 @@ do_install() {
|
|||
ln -sfr ${DESTDIR}/usr/share/go/misc ${DESTDIR}/usr/lib/go/misc
|
||||
|
||||
# For godoc
|
||||
vbin ${XBPS_BUILDDIR}/go_gopath/${bindir}/godoc
|
||||
vinstall favicon.ico 644 usr/lib/go
|
||||
|
||||
rm -f ${DESTDIR}/usr/share/go/doc/articles/wiki/get.bin
|
||||
|
|
Loading…
Reference in a new issue