commit: 70719a857e1fb03bd67720fec264195d78922ac2
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 31 20:42:58 2025 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Jul 31 20:43:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70719a85
sys-apps/s390-tools: "fix" build on 32bit (disable zipl there)
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
sys-apps/s390-tools/s390-tools-2.12.0.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sys-apps/s390-tools/s390-tools-2.12.0.ebuild
b/sys-apps/s390-tools/s390-tools-2.12.0.ebuild
index cac302c78a9f..16780040de77 100644
--- a/sys-apps/s390-tools/s390-tools-2.12.0.ebuild
+++ b/sys-apps/s390-tools/s390-tools-2.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -32,6 +32,11 @@ BDEPEND="app-admin/genromfs"
src_prepare() {
default
sed -i -e 's/-lncurses/-lncurses -ltinfo/' "${S}"/hyptop/Makefile || die
+
+ # zipl only builds on 64bit
+ if use abi_s390_32 ; then
+ sed -i -e 's/^TOOL_DIRS = zipl /TOOL_DIRS = /' "${S}"/Makefile
|| die
+ fi
}
src_configure() {