commit: a8d7f8cb64ddf98c264c259aa286ed19bafbb52b
Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 21:57:31 2025 +0000
Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 22:00:16 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d7f8cb
app-containers/crun: make sure elibtoolize is applied
Needed to e.g. pass LTO warning flags through to the linker.
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>
app-containers/crun/crun-1.14.3.ebuild | 9 +++++++--
app-containers/crun/crun-1.16.ebuild | 9 +++++++--
app-containers/crun/crun-1.17.ebuild | 7 ++++++-
app-containers/crun/crun-1.19.1.ebuild | 7 ++++++-
app-containers/crun/crun-1.20.ebuild | 7 ++++++-
5 files changed, 32 insertions(+), 7 deletions(-)
diff --git a/app-containers/crun/crun-1.14.3.ebuild
b/app-containers/crun/crun-1.14.3.ebuild
index d44f6e074aca..14528443dc13 100644
--- a/app-containers/crun/crun-1.14.3.ebuild
+++ b/app-containers/crun/crun-1.14.3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2019-2024 Gentoo Authors
+# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit python-any-r1
+inherit libtool python-any-r1
DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully
written in C"
HOMEPAGE="https://github.com/containers/crun"
@@ -43,6 +43,11 @@ BDEPEND="
# required to create linux "containers".
RESTRICT="test"
+src_prepare() {
+ default
+ elibtoolize
+}
+
src_configure() {
local myeconfargs=(
$(use_enable bpf)
diff --git a/app-containers/crun/crun-1.16.ebuild
b/app-containers/crun/crun-1.16.ebuild
index c2730e40b57e..209c824bb709 100644
--- a/app-containers/crun/crun-1.16.ebuild
+++ b/app-containers/crun/crun-1.16.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2019-2024 Gentoo Authors
+# Copyright 2019-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
-inherit python-any-r1
+inherit libtool python-any-r1
DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully
written in C"
HOMEPAGE="https://github.com/containers/crun"
@@ -37,6 +37,11 @@ BDEPEND="
virtual/pkgconfig
"
+src_prepare() {
+ default
+ elibtoolize
+}
+
src_configure() {
local myeconfargs=(
$(use_enable bpf)
diff --git a/app-containers/crun/crun-1.17.ebuild
b/app-containers/crun/crun-1.17.ebuild
index b54381361852..af92ab475fd3 100644
--- a/app-containers/crun/crun-1.17.ebuild
+++ b/app-containers/crun/crun-1.17.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
-inherit python-any-r1
+inherit libtool python-any-r1
DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully
written in C"
HOMEPAGE="https://github.com/containers/crun"
@@ -37,6 +37,11 @@ BDEPEND="
virtual/pkgconfig
"
+src_prepare() {
+ default
+ elibtoolize
+}
+
src_configure() {
local myeconfargs=(
--cache-file="${S}"/config.cache
diff --git a/app-containers/crun/crun-1.19.1.ebuild
b/app-containers/crun/crun-1.19.1.ebuild
index b54381361852..af92ab475fd3 100644
--- a/app-containers/crun/crun-1.19.1.ebuild
+++ b/app-containers/crun/crun-1.19.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
-inherit python-any-r1
+inherit libtool python-any-r1
DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully
written in C"
HOMEPAGE="https://github.com/containers/crun"
@@ -37,6 +37,11 @@ BDEPEND="
virtual/pkgconfig
"
+src_prepare() {
+ default
+ elibtoolize
+}
+
src_configure() {
local myeconfargs=(
--cache-file="${S}"/config.cache
diff --git a/app-containers/crun/crun-1.20.ebuild
b/app-containers/crun/crun-1.20.ebuild
index 2e67a51ee6ca..a54adfa35011 100644
--- a/app-containers/crun/crun-1.20.ebuild
+++ b/app-containers/crun/crun-1.20.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
-inherit python-any-r1
+inherit libtool python-any-r1
DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully
written in C"
HOMEPAGE="https://github.com/containers/crun"
@@ -37,6 +37,11 @@ BDEPEND="
virtual/pkgconfig
"
+src_prepare() {
+ default
+ elibtoolize
+}
+
src_configure() {
local myeconfargs=(
--cache-file="${S}"/config.cache