From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- app-arch/lrzip/lrzip-0.641-r1.ebuild | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'app-arch/lrzip/lrzip-0.641-r1.ebuild') diff --git a/app-arch/lrzip/lrzip-0.641-r1.ebuild b/app-arch/lrzip/lrzip-0.641-r1.ebuild index 6c8ec1c9d02f..b8363c1ee90d 100644 --- a/app-arch/lrzip/lrzip-0.641-r1.ebuild +++ b/app-arch/lrzip/lrzip-0.641-r1.ebuild @@ -20,9 +20,10 @@ RDEPEND=" app-arch/lz4 sys-libs/zlib " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" dev-perl/Pod-Parser + amd64? ( dev-lang/nasm ) x86? ( dev-lang/nasm ) " @@ -38,7 +39,15 @@ src_prepare() { } src_configure() { - econf $(use_enable static-libs static) + # ASM optimizations are only available on amd64 and x86, bug #829003 + local asm=no + if use amd64 || use x86; then + asm=yes + fi + + econf \ + $(use_enable static-libs static) \ + --enable-asm=${asm} } src_install() { -- cgit v1.2.3