commit:     c733a1e06f720c46e0d80c0e51ed5a12697c4b32
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 22 08:03:51 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 08:10:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c733a1e0

games-util/libstrangle: enable abi_x86_32 by default

Similarly to what's done for wine and friends, unsure why haven't done
this in the first place considering this has no further multilib deps
(this doesn't link with any libraries in DEPEND, what this uses will
depend on what applicates/games are linked with themselves).

Remove warning too, assume anyone manually turning it off would know
what they're getting into.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild 
b/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
index edb24350dc18..c39f31b01542 100644
--- a/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
+++ b/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit multilib multilib-minimal toolchain-funcs
+inherit multilib-minimal toolchain-funcs
 
 STRANGLE_COMMIT="0273e318e3b0cc759155db8729ad74266b74cb9b"
 
@@ -15,6 +15,7 @@ S="${WORKDIR}/${PN}-${STRANGLE_COMMIT}"
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+IUSE="+abi_x86_32"
 
 RDEPEND="
        sys-apps/grep[pcre]
@@ -58,8 +59,3 @@ multilib_src_install_all() {
        emake DESTDIR="${D}" prefix="${EPREFIX}"/usr install-common
        einstalldocs
 }
-
-pkg_postinst() {
-       has_multilib_profile && use amd64 && use !abi_x86_32 &&
-               ewarn "Note that USE=abi_x86_32 is needed for 32bit games 
(common with steam / wine)"
-}

Reply via email to