commit: 9767b5b3e8df032e0b77f9e508d2f322013b8386 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Wed Oct 12 01:08:20 2022 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Wed Oct 12 01:10:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9767b5b3
sys-devel/gettext: autotools fixes for 0.21.1 Restore libtool eclass for elibtoolize. Touch various autotools output files to avoid regenerating them. Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> sys-devel/gettext/gettext-0.21.1.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sys-devel/gettext/gettext-0.21.1.ebuild b/sys-devel/gettext/gettext-0.21.1.ebuild index e44d56879378..56ec58f12489 100644 --- a/sys-devel/gettext/gettext-0.21.1.ebuild +++ b/sys-devel/gettext/gettext-0.21.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gettext.asc -inherit java-pkg-opt-2 multilib-minimal verify-sig +inherit java-pkg-opt-2 libtool multilib-minimal verify-sig DESCRIPTION="GNU locale utilities" HOMEPAGE="https://www.gnu.org/software/gettext/" @@ -78,6 +78,15 @@ src_prepare() { java-pkg-opt-2_src_prepare default + + # gettext-0.21.1-java-autoconf.patch changes + # gettext-{runtime,tools}/configure.ac and the corresponding + # configure scripts. Avoid regenerating other autotools output. + touch -c gettext-{runtime,tools}/{aclocal.m4,Makefile.in,config.h.in,configure} || die + + # Makefile.am adds a dependency on gettext-{runtime,tools}/configure.ac + touch -c configure || die + elibtoolize use elibc_musl && eapply "${FILESDIR}"/${PN}-0.21-musl-omit_setlocale_lock.patch