summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/zisofs-tools')
-rw-r--r--app-misc/zisofs-tools/zisofs-tools-1.0.8-r1.ebuild (renamed from app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild)15
1 files changed, 12 insertions, 3 deletions
diff --git a/app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild b/app-misc/zisofs-tools/zisofs-tools-1.0.8-r1.ebuild
index 75a2dae5c72..6e7e459dbbe 100644
--- a/app-misc/zisofs-tools/zisofs-tools-1.0.8.ebuild
+++ b/app-misc/zisofs-tools/zisofs-tools-1.0.8-r1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-inherit flag-o-matic
+EAPI=8
+
+inherit autotools flag-o-matic
DESCRIPTION="User utilities for zisofs"
HOMEPAGE="https://www.kernel.org/pub/linux/utils/fs/zisofs/"
@@ -13,9 +14,17 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="static"
-RDEPEND=">=sys-libs/zlib-1.1.4:0="
+RDEPEND=">=sys-libs/zlib-1.1.4:="
DEPEND="${RDEPEND}"
+src_prepare() {
+ default
+
+ # Clang 16
+ sed -i -e 's:configure.in:configure.ac:' Makefile || die
+ eautoreconf
+}
+
src_configure() {
use static && append-ldflags -static
default