diff options
author | Sam James <sam@gentoo.org> | 2022-11-30 05:16:34 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-30 05:16:34 +0000 |
commit | a90b7d3dd874a0384525aa1a57a70b3043a85bc1 (patch) | |
tree | 2af126fd01acf30b6adc48ebfd79385f78fededf /app-misc/zisofs-tools | |
parent | app-admin/whowatch: add github upstream metadata (diff) | |
download | gentoo-a90b7d3dd874a0384525aa1a57a70b3043a85bc1.tar.gz gentoo-a90b7d3dd874a0384525aa1a57a70b3043a85bc1.tar.bz2 gentoo-a90b7d3dd874a0384525aa1a57a70b3043a85bc1.zip |
app-misc/zisofs-tools: fix configure w/ clang 16
Signed-off-by: Sam James <sam@gentoo.org>
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 75a2dae5c72f..6e7e459dbbec 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 |