Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/glog/
Date: Fri, 02 Apr 2021 15:01:00
Message-Id: 1617375648.a62ec2473825e637157e1dbfe9efe2d4a95d7c50.floppym@gentoo
1 commit: a62ec2473825e637157e1dbfe9efe2d4a95d7c50
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Thu Apr 1 23:00:00 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 2 15:00:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a62ec247
7
8 dev-cpp/glog: Rename "unwind" USE flag to "libunwind". Enable it by default.
9
10 Closes: https://bugs.gentoo.org/618190
11 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
12 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
13
14 dev-cpp/glog/glog-0.3.4-r1.ebuild | 8 ++++----
15 dev-cpp/glog/metadata.xml | 2 +-
16 2 files changed, 5 insertions(+), 5 deletions(-)
17
18 diff --git a/dev-cpp/glog/glog-0.3.4-r1.ebuild b/dev-cpp/glog/glog-0.3.4-r1.ebuild
19 index 4a2cfdd6be4..d6fd3e0dc0d 100644
20 --- a/dev-cpp/glog/glog-0.3.4-r1.ebuild
21 +++ b/dev-cpp/glog/glog-0.3.4-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=6
28 @@ -12,12 +12,12 @@ SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
29 LICENSE="BSD"
30 SLOT="0"
31 KEYWORDS="amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 x86 ~amd64-linux ~x86-linux"
32 -IUSE="gflags static-libs test unwind"
33 +IUSE="gflags +libunwind static-libs test"
34 RESTRICT="test"
35
36 RDEPEND="
37 gflags? ( >=dev-cpp/gflags-2.0-r1[${MULTILIB_USEDEP}] )
38 - unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )"
39 + libunwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] )"
40 DEPEND="${RDEPEND}
41 test? ( >=dev-cpp/gtest-1.8.0[${MULTILIB_USEDEP}] )"
42
43 @@ -37,7 +37,7 @@ multilib_src_configure() {
44 $(use_enable gflags) \
45 $(use_enable static-libs static) \
46 $(use_enable test gtest-config) \
47 - $(use_enable unwind)
48 + $(use_enable libunwind unwind)
49 }
50
51 multilib_src_install_all() {
52
53 diff --git a/dev-cpp/glog/metadata.xml b/dev-cpp/glog/metadata.xml
54 index 3856364cd84..7abf6ed43ca 100644
55 --- a/dev-cpp/glog/metadata.xml
56 +++ b/dev-cpp/glog/metadata.xml
57 @@ -11,7 +11,7 @@
58 </maintainer>
59 <use>
60 <flag name="gflags">Use <pkg>dev-cpp/gflags</pkg> for flag parsing</flag>
61 - <flag name="unwind">Use <pkg>sys-libs/libunwind</pkg> for stack unwinding instead of glibc/gcc (may be more reliable on x86_64)</flag>
62 + <flag name="libunwind">Use libunwind library (<pkg>sys-libs/libunwind</pkg> or <pkg>sys-libs/llvm-libunwind</pkg>) instead of built-in fallback implementation for stack unwinding</flag>
63 </use>
64 <upstream>
65 <remote-id type="github">google/glog</remote-id>