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/zisofs-tools-1.0.8-r1.ebuild | |
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/zisofs-tools-1.0.8-r1.ebuild')
-rw-r--r-- | app-misc/zisofs-tools/zisofs-tools-1.0.8-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-misc/zisofs-tools/zisofs-tools-1.0.8-r1.ebuild b/app-misc/zisofs-tools/zisofs-tools-1.0.8-r1.ebuild new file mode 100644 index 000000000000..6e7e459dbbec --- /dev/null +++ b/app-misc/zisofs-tools/zisofs-tools-1.0.8-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="User utilities for zisofs" +HOMEPAGE="https://www.kernel.org/pub/linux/utils/fs/zisofs/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +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:=" +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 +} + +src_install() { + emake INSTALLROOT="${D}" install + einstalldocs +} |