summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-09-22 12:21:38 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-09-22 20:15:43 -0400
commitc61a77e0847c223cc33ad11796f112b408942ac6 (patch)
treecaf35a420f4915ccfb0d357f08a584d2b6369730 /dev-libs
parentdev-libs/oniguruma: add cpe upstream metadata (diff)
downloadgentoo-c61a77e0847c223cc33ad11796f112b408942ac6.tar.gz
gentoo-c61a77e0847c223cc33ad11796f112b408942ac6.tar.bz2
gentoo-c61a77e0847c223cc33ad11796f112b408942ac6.zip
dev-libs/libixion: make sure elibtoolize is applied
Needed to e.g. pass LTO warning flags through to the linker. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libixion/libixion-0.19.0-r1.ebuild8
-rw-r--r--dev-libs/libixion/libixion-9999.ebuild8
2 files changed, 12 insertions, 4 deletions
diff --git a/dev-libs/libixion/libixion-0.19.0-r1.ebuild b/dev-libs/libixion/libixion-0.19.0-r1.ebuild
index e6e85ddecd3e..6fd33b62120c 100644
--- a/dev-libs/libixion/libixion-0.19.0-r1.ebuild
+++ b/dev-libs/libixion/libixion-0.19.0-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit python-single-r1
+inherit libtool python-single-r1
DESCRIPTION="General purpose formula parser & interpreter"
HOMEPAGE="https://gitlab.com/ixion/ixion"
@@ -43,7 +43,11 @@ pkg_setup() {
src_prepare() {
default
- [[ ${PV} == *9999* ]] && eautoreconf
+ if [[ ${PV} == *9999* ]]; then
+ eautoreconf
+ else
+ elibtoolize
+ fi
}
src_configure() {
diff --git a/dev-libs/libixion/libixion-9999.ebuild b/dev-libs/libixion/libixion-9999.ebuild
index ec4bffd84edf..daafc3e454f5 100644
--- a/dev-libs/libixion/libixion-9999.ebuild
+++ b/dev-libs/libixion/libixion-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-inherit python-single-r1
+inherit libtool python-single-r1
DESCRIPTION="General purpose formula parser & interpreter"
HOMEPAGE="https://gitlab.com/ixion/ixion"
@@ -38,7 +38,11 @@ pkg_setup() {
src_prepare() {
default
- [[ ${PV} == *9999* ]] && eautoreconf
+ if [[ ${PV} == *9999* ]]; then
+ eautoreconf
+ else
+ elibtoolize
+ fi
}
src_configure() {