summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-05-28 07:11:30 +0000
committerZac Medico <zmedico@gentoo.org>2015-05-28 07:11:30 +0000
commit759df52b247777a687d6412e30a0e7edf03ca601 (patch)
tree44aa2f1701de1f7087d20de9dabeb15a2bfcbed1 /dev-go
parentadd a live version (diff)
downloadgentoo-2-759df52b247777a687d6412e30a0e7edf03ca601.tar.gz
gentoo-2-759df52b247777a687d6412e30a0e7edf03ca601.tar.bz2
gentoo-2-759df52b247777a687d6412e30a0e7edf03ca601.zip
Change /usr/bin/go from a symlink to a hardlink.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3)
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-tools/ChangeLog6
-rw-r--r--dev-go/go-tools/go-tools-1.4.2_p20150520.ebuild5
-rw-r--r--dev-go/go-tools/go-tools-9999.ebuild5
3 files changed, 11 insertions, 5 deletions
diff --git a/dev-go/go-tools/ChangeLog b/dev-go/go-tools/ChangeLog
index c7f757fc91fc..e074f85a7230 100644
--- a/dev-go/go-tools/ChangeLog
+++ b/dev-go/go-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-go/go-tools
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/ChangeLog,v 1.6 2015/05/24 21:06:53 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/ChangeLog,v 1.7 2015/05/28 07:11:30 zmedico Exp $
+
+ 28 May 2015; Zac Medico <zmedico@gentoo.org> go-tools-1.4.2_p20150520.ebuild,
+ go-tools-9999.ebuild:
+ Change /usr/bin/go from a symlink to a hardlink.
24 May 2015; Zac Medico <zmedico@gentoo.org> go-tools-1.4.2_p20150520.ebuild,
go-tools-9999.ebuild:
diff --git a/dev-go/go-tools/go-tools-1.4.2_p20150520.ebuild b/dev-go/go-tools/go-tools-1.4.2_p20150520.ebuild
index 825dd73da229..bb10df8e1e23 100644
--- a/dev-go/go-tools/go-tools-1.4.2_p20150520.ebuild
+++ b/dev-go/go-tools/go-tools-1.4.2_p20150520.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/go-tools-1.4.2_p20150520.ebuild,v 1.4 2015/05/24 21:06:53 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/go-tools-1.4.2_p20150520.ebuild,v 1.5 2015/05/28 07:11:30 zmedico Exp $
EAPI=5
@@ -69,9 +69,10 @@ src_install() {
doexe "${WORKDIR}"/bin/*
# godoc ends up in ${GOROOT}/bin
+ dodir /usr/bin
while read -r -d '' x; do
doexe "${x}"
- dosym ../lib/go/bin/${x##*/} /usr/bin/${x##*/}
+ ln "${ED}"usr/{lib/go/bin,bin}/${x##*/} || die
done < <(find "${GOROOT}/bin" -type f -print0)
# cover and vet end up in ${GOROOT}/pkg/tool/linux_amd64
diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild
index 7fab2a5f6338..ab51ec114fa8 100644
--- a/dev-go/go-tools/go-tools-9999.ebuild
+++ b/dev-go/go-tools/go-tools-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/go-tools-9999.ebuild,v 1.4 2015/05/24 21:06:53 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/go-tools-9999.ebuild,v 1.5 2015/05/28 07:11:30 zmedico Exp $
EAPI=5
inherit git-r3
@@ -63,9 +63,10 @@ src_install() {
doexe "${WORKDIR}"/bin/*
# godoc ends up in ${GOROOT}/bin
+ dodir /usr/bin
while read -r -d '' x; do
doexe "${x}"
- dosym ../lib/go/bin/${x##*/} /usr/bin/${x##*/}
+ ln "${ED}"usr/{lib/go/bin,bin}/${x##*/} || die
done < <(find "${GOROOT}/bin" -type f -print0)
# cover and vet end up in ${GOROOT}/pkg/tool/linux_amd64