From 1ce7fbd7e260ad3e46c45cdb124029bd81a76df2 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 27 Aug 2015 10:02:06 -0500 Subject: [PATCH] dev-go/go-tools: sync live ebuild Package-Manager: portage-2.2.20.1 --- dev-go/go-tools/go-tools-9999.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild index ac8982ed2b2e..030ff9e2a489 100644 --- a/dev-go/go-tools/go-tools-9999.ebuild +++ b/dev-go/go-tools/go-tools-9999.ebuild @@ -81,7 +81,12 @@ src_install() { cp -sR "$(go env GOROOT)" "${T}/goroot" || die GOROOT="${T}/goroot" golang-build_src_install - dobin bin/* "${T}/goroot/bin/godoc" + + # bug 558818: install binaries in $GOROOT/bin to avoid file collisions + exeinto "$(go env GOROOT)/bin" + doexe bin/* "${T}/goroot/bin/godoc" + dodir /usr/bin + ln "${ED}$(go env GOROOT)/bin/godoc" "${ED}usr/bin/godoc" || die if has_version '