Diff ffcall-2.4-r1 with a ffcall-2.5
| /usr/portage/dev-libs/ffcall/ffcall-2.5.ebuild 2025-07-29 16:22:13.156450471 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 |
inherit flag-o-matic libtool |
|
| 6 |
inherit autotools flag-o-matic libtool |
|
| 7 | 7 | |
| 8 | 8 |
MY_PV="libffcall-${PV}"
|
| 9 | 9 | |
| ... | ... | |
| 20 | 20 |
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
| 21 | 21 | |
| 22 | 22 |
PATCHES=( |
| 23 |
# bug 842915, drop on next version bump |
|
| 24 |
"${FILESDIR}"/${PN}-2.4-vacall-riscv-pic.patch
|
|
| 25 |
"${FILESDIR}"/${PN}-2.4-slibtool.patch # 776976
|
|
| 23 |
"${FILESDIR}"/ffcall-2.5-add-support-for-clang.patch
|
|
| 26 | 24 |
) |
| 27 | 25 | |
| 28 | 26 |
src_prepare() {
|
| ... | ... | |
| 41 | 39 | |
| 42 | 40 |
default |
| 43 | 41 |
elibtoolize |
| 42 |
eautoreconf |
|
| 43 | ||
| 44 |
if use kernel_linux ; then |
|
| 45 |
QA_CONFIG_IMPL_DECL_SKIP=( PROT_MPROTECT ) |
|
| 46 |
fi |
|
| 47 | ||
| 44 | 48 |
} |
| 45 | 49 | |
| 46 | 50 |
src_configure() {
|
| ... | ... | |
| 49 | 53 |
# Doc goes in datadir |
| 50 | 54 |
econf \ |
| 51 | 55 |
--datadir="${EPREFIX}"/usr/share/doc/${PF} \
|
| 52 |
--enable-shared \ |
|
| 53 |
--disable-static |
|
| 56 |
--enable-shared |
|
| 54 | 57 |
} |
| 55 | 58 | |
| 56 | 59 |
src_compile() {
|
| 57 |
# TODO. Remove -j1 |
|
| 58 | 60 |
emake -j1 |
| 59 | 61 |
} |
| 60 | 62 | |