summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2024-08-08 22:01:01 -0400
committerEli Schwartz <eschwartz@gentoo.org>2024-08-09 09:02:15 -0400
commit59fb489ea732490f6f535afb622c66ca88a5d1f5 (patch)
tree558642728289a37c2dca3cf2812c319b6aedd538
parentgames-emulation/libretro-dosbox: mark as LTO-unsafe, strict-aliasing unsafe (diff)
downloadgentoo-59fb489ea732490f6f535afb622c66ca88a5d1f5.tar.gz
gentoo-59fb489ea732490f6f535afb622c66ca88a5d1f5.tar.bz2
gentoo-59fb489ea732490f6f535afb622c66ca88a5d1f5.zip
media-libs/libcanberra: 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>
-rw-r--r--media-libs/libcanberra/libcanberra-0.30-r7.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/media-libs/libcanberra/libcanberra-0.30-r7.ebuild b/media-libs/libcanberra/libcanberra-0.30-r7.ebuild
index 31565f4ebc7c..7378cc9eee19 100644
--- a/media-libs/libcanberra/libcanberra-0.30-r7.ebuild
+++ b/media-libs/libcanberra/libcanberra-0.30-r7.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit multilib-minimal systemd
+inherit libtool multilib-minimal systemd
DESCRIPTION="Portable sound event library"
HOMEPAGE="http://0pointer.de/lennart/projects/libcanberra/"
@@ -48,6 +48,11 @@ PATCHES=(
"${FILESDIR}/${PN}-0.30-wayland.patch"
)
+src_prepare() {
+ default
+ elibtoolize
+}
+
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
--docdir="${EPREFIX}"/usr/share/doc/${PF} \