Diff capnproto-0.10.2 with a capnproto-0.10.4-r1
| /usr/portage/dev-libs/capnproto/capnproto-0.10.4-r1.ebuild 2025-11-06 18:18:08.138172264 +0300 | ||
|---|---|---|
| 11 | 11 |
S="${WORKDIR}"/${P}/c++
|
| 12 | 12 | |
| 13 | 13 |
LICENSE="MIT" |
| 14 |
SLOT="0/091" |
|
| 15 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
|
| 14 |
SLOT="0/${PV}"
|
|
| 15 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~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= ) |
|
| 21 |
ssl? ( dev-libs/openssl:= ) |
|
| 22 | 22 |
zlib? ( virtual/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 |