Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/bees/
Date: Mon, 01 Oct 2018 08:02:05
Message-Id: 1538380910.7d85d0b5f6274597bac0d2ec8d99c8c6bf953cd5.gyakovlev@gentoo
1 commit: 7d85d0b5f6274597bac0d2ec8d99c8c6bf953cd5
2 Author: Kai Krakow <kai <AT> kaishome <DOT> de>
3 AuthorDate: Sun Sep 30 02:34:56 2018 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 1 08:01:50 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d85d0b5
7
8 sys-fs/bees: Specify package version to Makefile
9
10 This works around an upstream issue in non-git ebuilds. The change is
11 proposed to work from v0.7 onwards. It's still a hack but gets around
12 the git error messages that show up otherwise during the ebuild phase.
13
14 Closes: https://github.com/gentoo/gentoo/pull/10016
15 Github-Link: https://github.com/Zygo/bees/issues/75
16 Package-Manager: Portage-2.3.49, Repoman-2.3.10
17 Signed-off-by: Kai Krakow <kai <AT> kaishome.de>
18 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
19
20 sys-fs/bees/bees-9999.ebuild | 5 +++++
21 1 file changed, 5 insertions(+)
22
23 diff --git a/sys-fs/bees/bees-9999.ebuild b/sys-fs/bees/bees-9999.ebuild
24 index 72fef108e72..22a1b0a4888 100644
25 --- a/sys-fs/bees/bees-9999.ebuild
26 +++ b/sys-fs/bees/bees-9999.ebuild
27 @@ -60,6 +60,11 @@ src_configure() {
28 LIBDIR=$(get_libdir)
29 DEFAULT_MAKE_TARGET=all
30 EOF
31 + if [[ ${PV} != "9999" ]] ; then
32 + cat >>localconf <<-EOF || die
33 + BEES_VERSION=v${PV}
34 + EOF
35 + fi
36 if use tools; then
37 echo OPTIONAL_INSTALL_TARGETS=install_tools >>localconf || die
38 fi