Diff capnproto-0.10.2 with a capnproto-0.10.4-r1
/usr/portage/dev-libs/capnproto/capnproto-0.10.4-r1.ebuild 2023-10-09 14:52:29.492368350 +0300 | ||
---|---|---|
11 | 11 |
S="${WORKDIR}"/${P}/c++ |
12 | 12 | |
13 | 13 |
LICENSE="MIT" |
14 |
SLOT="0/091" |
|
14 |
SLOT="0/${PV}" |
|
15 | 15 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
16 | 16 |
IUSE="+ssl test zlib" |
17 | 17 | |
18 | 18 |
RESTRICT="!test? ( test )" |
19 | 19 | |
20 | 20 |
RDEPEND=" |
21 |
ssl? ( dev-libs/openssl:0= ) |
|
22 |
zlib? ( sys-libs/zlib:0= ) |
|
21 |
ssl? ( dev-libs/openssl:= ) |
|
22 |
zlib? ( sys-libs/zlib:= ) |
|
23 | 23 |
" |
24 | 24 |
DEPEND="${RDEPEND} |
25 | 25 |
test? ( dev-cpp/gtest ) |
26 | 26 |
" |
27 | 27 | |
28 |
PATCHES=( |
|
29 |
"${FILESDIR}"/${P}-gcc-13.patch |
|
30 |
) |
|
31 | ||
32 | 28 |
src_configure() { |
33 |
if use arm || use ppc || use mips || [[ ${CHOST} == *i486* ]] ; then |
|
29 |
append-atomic-flags |
|
30 |
if [[ ${LIBS} == *atomic* ]] ; then |
|
34 | 31 |
# append-libs won't work here, cmake doesn't respect it |
35 | 32 |
# ... and ldflags gets missed once |
36 | 33 |
append-flags -latomic |