commit:     3399f3e514053fe3a7c36b69e056ab26eaac45d7
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 13 13:26:22 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 13 13:34:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3399f3e5

app-arch/p7zip: Drop broken IUSE static

If you wait long enough, someone else will fix it for you.

Bug: https://bugs.gentoo.org/915392
Bug: https://bugs.gentoo.org/933740
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-arch/p7zip/p7zip-17.05-r1.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/app-arch/p7zip/p7zip-17.05-r1.ebuild 
b/app-arch/p7zip/p7zip-17.05-r1.ebuild
index 552dfb5b72b4..10a859480459 100644
--- a/app-arch/p7zip/p7zip-17.05-r1.ebuild
+++ b/app-arch/p7zip/p7zip-17.05-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/p7zip-project/p7zip/archive/v${PV}.tar.gz -> ${P}.ta
 LICENSE="LGPL-2.1 rar? ( unRAR )"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos"
-IUSE="abi_x86_x32 natspec +pch rar static test"
+IUSE="abi_x86_x32 natspec +pch rar test"
 
 REQUIRED_USE="test? ( rar )" # bug 907221
 RESTRICT="!test? ( test )"
@@ -79,10 +79,6 @@ src_prepare() {
                        CPP/7zip/Bundles/Format7zFree/makefile.list \
                        $(use rar && echo CPP/7zip/Compress/Rar/makefile.list) 
|| die
        fi
-
-       if use static; then
-               sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' 
makefile.machine || die
-       fi
 }
 
 src_compile() {

Reply via email to