commit: 90dd97dc92817313930b0f799ef8095967001e3f Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Fri Mar 15 04:10:13 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 15 04:14:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90dd97dc
sys-apps/sg3_utils: 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> sys-apps/sg3_utils/sg3_utils-1.47-r1.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys-apps/sg3_utils/sg3_utils-1.47-r1.ebuild b/sys-apps/sg3_utils/sg3_utils-1.47-r1.ebuild index 039dbca591cd..000805d29a24 100644 --- a/sys-apps/sg3_utils/sg3_utils-1.47-r1.ebuild +++ b/sys-apps/sg3_utils/sg3_utils-1.47-r1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit libtool + DESCRIPTION="Apps for querying the sg SCSI interface" HOMEPAGE="https://sg.danny.cz/sg/" #SRC_URI="https://github.com/hreinecke/sg3_utils/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -20,6 +22,11 @@ PATCHES=( "${FILESDIR}"/${PN}-1.47-musl.patch ) +src_prepare() { + default + elibtoolize +} + src_configure() { econf $(use_enable static-libs static) }
