--- app-shells/pdsh/pdsh-2.26-r1.ebuild 2019-12-11 00:41:51.000000000 +0100 +++ app-shells/pdsh/pdsh-2.26-r1.ebuild 2022-12-18 14:58:25.312848152 +0100 @@ -3,6 +3,8 @@ EAPI=6 +inherit autotools + DESCRIPTION="A high-performance, parallel remote shell utility" HOMEPAGE="https://computing.llnl.gov/linux/pdsh.html" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" @@ -41,6 +43,21 @@ elog "PDSH_MODULE_LIST=\"module1 module2...\"" } +src_prepare() { + default + rm -f aclocal.m4 configure || die + rm -f config/config.guess config/config.sub config/depcomp || die + rm -f config/install-sh config/libtool.m4 config/ltmain.sh || die + rm -f config/missing config/mkinstalldirs || die + find . -type f -name 'Makefile.in' -exec rm -f {} \; + # AC_RSH is deprecated + sed -e 's~AC_RSH.*~~' -i configure.ac || die + sed -e 's~META_LT_.*=_X_AC_META_GETVAL.*~~' -i config/ac_meta.m4 || die + M4DIR="config" autoupdate -I config || die + M4DIR="config" eautoreconf -I config || die + sed -e 's~LTDL_OBJDIR~LT_OBJDIR~' -i src/pdsh/ltdl.c || die +} + src_configure() { econf ${MODULE_CONFIG} \ --with-machines \