Diff glog-0.5.0 with a glog-0.6.0
/usr/portage/dev-cpp/glog/glog-0.6.0.ebuild 2023-10-09 14:52:29.304368345 +0300 | ||
---|---|---|
20 | 20 |
fi |
21 | 21 | |
22 | 22 |
LICENSE="BSD" |
23 |
SLOT="0" |
|
24 |
KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" |
|
23 |
SLOT="0/1" |
|
24 |
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" |
|
25 | 25 |
IUSE="gflags +libunwind llvm-libunwind test" |
26 | 26 |
RESTRICT="!test? ( test )" |
27 | 27 | |
... | ... | |
33 | 33 |
DEPEND="${RDEPEND} |
34 | 34 |
test? ( >=dev-cpp/gtest-1.8.0[${MULTILIB_USEDEP}] )" |
35 | 35 | |
36 |
PATCHES=( |
|
37 |
"${FILESDIR}/${P}-IsGoogleLoggingInitialized_public.patch" |
|
38 |
"${FILESDIR}/${P}-vmodule_levels_changeability.patch" |
|
39 |
) |
|
40 | ||
41 | 36 |
src_configure() { |
42 | 37 |
local mycmakeargs=( |
43 | 38 |
-DBUILD_TESTING=$(usex test ON OFF) |
44 |
-DWITH_CUSTOM_PREFIX=ON |
|
45 | 39 |
-DWITH_GFLAGS=$(usex gflags ON OFF) |
46 | 40 |
-DWITH_GTEST=$(usex test ON OFF) |
47 | 41 |
-DWITH_UNWIND=$(usex libunwind ON OFF) |
48 | 42 |
) |
49 |
if use libunwind; then |
|
50 |
mycmakeargs+=( |
|
51 |
-DUnwind_PLATFORM_LIBRARY="${ESYSROOT}/usr/$(get_libdir)/libunwind.so" |
|
52 |
) |
|
53 |
fi |
|
54 | 43 | |
55 | 44 |
cmake-multilib_src_configure |
56 | 45 |
} |
57 | 46 | |
58 | 47 |
src_test() { |
59 |
# See bug #832355 |
|
60 | 48 |
cmake-multilib_src_test -j1 |
61 | 49 |
} |