diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-11-26 21:18:09 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-11-26 21:18:09 +0100 |
commit | dbdb0d4218deaa30a86905b339868b732907a986 (patch) | |
tree | d887bfde5ada587f4f79b5dc467238123f19ee29 /dev-db/etcd | |
parent | media-tv/kodi: Remove dependency on sys-power/upower-pm-utils (diff) | |
download | gentoo-dbdb0d4218deaa30a86905b339868b732907a986.tar.gz gentoo-dbdb0d4218deaa30a86905b339868b732907a986.tar.bz2 gentoo-dbdb0d4218deaa30a86905b339868b732907a986.zip |
dev-db/etcd: Verbose build, add Git SHA
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11
Diffstat (limited to 'dev-db/etcd')
-rw-r--r-- | dev-db/etcd/etcd-3.3.10.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-db/etcd/etcd-3.3.10.ebuild b/dev-db/etcd/etcd-3.3.10.ebuild index 19f780d06747..431d7d6ff869 100644 --- a/dev-db/etcd/etcd-3.3.10.ebuild +++ b/dev-db/etcd/etcd-3.3.10.ebuild @@ -7,6 +7,7 @@ inherit user systemd golang-vcs-snapshot KEYWORDS="~amd64" EGO_PN="github.com/coreos/etcd" +GIT_COMMIT="27fc7e2" MY_PV="${PV/_rc/-rc.}" DESCRIPTION="Highly-available key value store for shared configuration and service discovery" HOMEPAGE="https://github.com/coreos/etcd" @@ -19,7 +20,7 @@ RDEPEND="!dev-db/etcdctl" src_prepare() { default - sed -e 's|GIT_SHA=.*|GIT_SHA=v${PV}|'\ + sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\ -i "${S}"/src/${EGO_PN}/build || die sed -e 's:\(for p in \)shellcheck :\1 :' \ -e 's:^ gofmt \\$:\\:' \ @@ -40,7 +41,7 @@ pkg_setup() { src_compile() { export GOPATH=${S} pushd src/${EGO_PN} || die - ./build || die + GO_BUILD_FLAGS=-v ./build || die popd || die } |