mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
dev-go/go-tools: fix godoc doexe failure, bug 591656
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -95,7 +95,10 @@ src_install() {
|
||||
|
||||
# bug 558818: install binaries in $GOROOT/bin to avoid file collisions
|
||||
exeinto "$(go env GOROOT)/bin"
|
||||
doexe bin/* "${T}/goroot/bin/godoc"
|
||||
doexe bin/*
|
||||
# godoc location varies depending on whether or not it's
|
||||
# installed on the system (bug 591656)
|
||||
[[ -e bin/godoc ]] || doexe "${T}/goroot/bin/godoc"
|
||||
dodir /usr/bin
|
||||
ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die
|
||||
|
||||
|
||||
Reference in New Issue
Block a user