commit: 45626347e4bb3cd82353d3657eb4c0c3997d29b5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 29 21:42:57 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 29 21:44:40 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45626347
dev-libs/libffi: elibtoolize
.. otherwise the PIC variant builds are silent.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/libffi/libffi-3.4.8-r1.ebuild | 7 ++++++-
dev-libs/libffi/libffi-9999.ebuild | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/dev-libs/libffi/libffi-3.4.8-r1.ebuild
b/dev-libs/libffi/libffi-3.4.8-r1.ebuild
index 771c7f1590a0..bf89160b2c7b 100644
--- a/dev-libs/libffi/libffi-3.4.8-r1.ebuild
+++ b/dev-libs/libffi/libffi-3.4.8-r1.ebuild
@@ -15,6 +15,7 @@ if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/libffi/libffi"
inherit autotools git-r3
else
+ inherit libtool
SRC_URI="https://github.com/libffi/libffi/releases/download/v${MY_PV}/${MY_P}.tar.gz"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64
~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos
~x64-macos ~x64-solaris"
@@ -39,7 +40,11 @@ PATCHES=(
src_prepare() {
default
- [[ ${PV} == 9999 ]] && eautoreconf
+ if [[ ${PV} == 9999 ]] ; then
+ eautoreconf
+ else
+ elibtoolize
+ fi
if [[ ${CHOST} == arm64-*-darwin* ]] ; then
# ensure we use aarch64 asm, not x86 on arm64
diff --git a/dev-libs/libffi/libffi-9999.ebuild
b/dev-libs/libffi/libffi-9999.ebuild
index c210e2cd6086..408c095e2029 100644
--- a/dev-libs/libffi/libffi-9999.ebuild
+++ b/dev-libs/libffi/libffi-9999.ebuild
@@ -15,6 +15,7 @@ if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/libffi/libffi"
inherit autotools git-r3
else
+ inherit libtool
SRC_URI="https://github.com/libffi/libffi/releases/download/v${MY_PV}/${MY_P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos
~x64-macos ~x64-solaris"
@@ -35,7 +36,11 @@ BDEPEND="test? ( dev-util/dejagnu )"
src_prepare() {
default
- [[ ${PV} == 9999 ]] && eautoreconf
+ if [[ ${PV} == 9999 ]] ; then
+ eautoreconf
+ else
+ elibtoolize
+ fi
if [[ ${CHOST} == arm64-*-darwin* ]] ; then
# ensure we use aarch64 asm, not x86 on arm64