diff options
author | Zac Medico <zmedico@gentoo.org> | 2016-08-19 09:12:13 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2016-08-19 09:12:54 -0700 |
commit | ea9127983a43baf746f5bb72fe2ed4fd84bbc429 (patch) | |
tree | a5d67fa82a21432a441649b3a83766be837fc00a | |
parent | net-news/newsbeuter: revision bump to fix various segfaults/memleaks (diff) | |
download | gentoo-ea9127983a43baf746f5bb72fe2ed4fd84bbc429.tar.gz gentoo-ea9127983a43baf746f5bb72fe2ed4fd84bbc429.tar.bz2 gentoo-ea9127983a43baf746f5bb72fe2ed4fd84bbc429.zip |
dev-go/go-tools: fix godoc doexe failure, bug 591656
Package-Manager: portage-2.3.0
-rw-r--r-- | dev-go/go-tools/go-tools-0_pre20160220.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-go/go-tools/go-tools-0_pre20160220.ebuild b/dev-go/go-tools/go-tools-0_pre20160220.ebuild index 8254910d75d1..599c669345de 100644 --- a/dev-go/go-tools/go-tools-0_pre20160220.ebuild +++ b/dev-go/go-tools/go-tools-0_pre20160220.ebuild @@ -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 |