commit: b653d41a1077898b62abcb96ab8980f30c930521 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Tue Mar 19 00:06:34 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 19 03:20:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b653d41a
net-libs/enet: make sure elibtoolize is applied Needed to e.g. pass LTO warning flags through to the linker. Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/enet/enet-1.3.17.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/net-libs/enet/enet-1.3.17.ebuild b/net-libs/enet/enet-1.3.17.ebuild index 73fe10687078..e3d3d51f4903 100644 --- a/net-libs/enet/enet-1.3.17.ebuild +++ b/net-libs/enet/enet-1.3.17.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit libtool + DESCRIPTION="Relatively thin, simple and robust network communication layer on top of UDP" HOMEPAGE="http://enet.bespin.org/ https://github.com/lsalzman/enet/" SRC_URI="http://enet.bespin.org/download/${P}.tar.gz" @@ -14,6 +16,11 @@ IUSE="static-libs" RDEPEND="!${CATEGORY}/${PN}:0" +src_prepare() { + default + elibtoolize +} + src_configure() { econf $(use_enable static-libs static) }