Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/mc/
Date: Mon, 27 Nov 2017 20:14:13
Message-Id: 1511813630.24ab2d84b5cf9d6b0f899631fa6393dd4fd1a167.mrueg@gentoo
1 commit: 24ab2d84b5cf9d6b0f899631fa6393dd4fd1a167
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 27 20:13:50 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 27 20:13:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24ab2d84
7
8 net-fs/mc: Install bash-completion
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 net-fs/mc/mc-0_pre20171014.ebuild | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/net-fs/mc/mc-0_pre20171014.ebuild b/net-fs/mc/mc-0_pre20171014.ebuild
16 index e3cbab56910..de6178cf067 100644
17 --- a/net-fs/mc/mc-0_pre20171014.ebuild
18 +++ b/net-fs/mc/mc-0_pre20171014.ebuild
19 @@ -2,7 +2,7 @@
20 # Distributed under the terms of the GNU General Public License v2
21
22 EAPI=6
23 -inherit golang-build golang-vcs-snapshot
24 +inherit golang-build golang-vcs-snapshot bash-completion-r1
25
26 EGO_PN="github.com/minio/mc"
27 VERSION="2017-10-14T00-51-16Z"
28 @@ -33,7 +33,6 @@ src_prepare() {
29 src_compile() {
30 pushd src/${EGO_PN} || die
31 MC_RELEASE="${VERSION}"
32 - go run buildscripts/gen-ldflags.go
33 GOPATH="${S}" go build --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die
34 popd || die
35 }
36 @@ -42,5 +41,6 @@ src_install() {
37 pushd src/${EGO_PN} || die
38 dodoc -r README.md CONTRIBUTING.md docs
39 dobin mc
40 + newbashcomp autocomplete/bash_autocomplete ${PN}
41 popd || die
42 }