diff options
author | Sam James <sam@gentoo.org> | 2021-08-19 00:06:08 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-08-19 00:18:31 +0100 |
commit | 1124a7c8003ab7a89448842698c834a3a6154600 (patch) | |
tree | e778231f1240ece97fc496c33d095a0f0caa7445 /sys-fs/lde/lde-2.6.1-r2.ebuild | |
parent | sys-kernel/vanilla-kernel: Remove old (diff) | |
download | gentoo-1124a7c8003ab7a89448842698c834a3a6154600.tar.gz gentoo-1124a7c8003ab7a89448842698c834a3a6154600.tar.bz2 gentoo-1124a7c8003ab7a89448842698c834a3a6154600.zip |
sys-fs/lde: fix build with autoconf 2.71
Revbump required because the failure wasn't actually
"fatal" with autoconf 2.71 (it'd install a botched
set of files).
Closes: https://bugs.gentoo.org/776862
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/lde/lde-2.6.1-r2.ebuild')
-rw-r--r-- | sys-fs/lde/lde-2.6.1-r2.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/sys-fs/lde/lde-2.6.1-r2.ebuild b/sys-fs/lde/lde-2.6.1-r2.ebuild new file mode 100644 index 000000000000..c0b1f4584101 --- /dev/null +++ b/sys-fs/lde/lde-2.6.1-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="ext2fs and minix disk editor for linux" +HOMEPAGE="http://lde.sourceforge.net/" +SRC_URI="mirror://sourceforge/lde/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="sys-libs/ncurses:0=" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + virtual/yacc +" + +S="${WORKDIR}/${PN}" + +PATCHES=( + "${FILESDIR}/${P}-no-shadowing.patch" + "${FILESDIR}/${P}-fno-common.patch" + "${FILESDIR}/${P}-tinfo.patch" + "${FILESDIR}/${P}-respect-ar.patch" +) + +DOCS=( WARNING README TODO COPYING ) + +RESTRICT="test" + +src_prepare() { + default + + # Remove prebuilt lde binary (so that failures to compile are fatal!) + # bug #776862 + rm lde || die + + cd macros || die + # bug #775968 again + touch ar-lib install-sh || die + mv configure.{in,ac} || die + eautoreconf +} + +src_install() { + dosbin "${PN}" + newman "doc/${PN}.man" "${PN}.8" + einstalldocs +} |