dev-build/autoconf-vanilla: touch .keepinfodir

prevent portage from rebuilding the info dir, inspired by
https://bugs.gentoo.org/257260

Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41511
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Z. Liu 2025-06-04 21:17:16 +08:00 committed by Sam James
parent 6c336968af
commit d2b93f418c
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
5 changed files with 24 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -59,3 +59,10 @@ src_configure() {
--datadir="${EPREFIX}"/usr/share/"${P}" \
--infodir="${TC_AUTOCONF_INFOPATH}"
}
src_install() {
toolchain-autoconf_src_install
# dissuade Portage from removing our dir file
touch "${ED}"/usr/share/${P}/info/.keepinfodir || die
}

View File

@ -93,3 +93,10 @@ src_prepare() {
-execdir sed -i '/^pkgdatadir/s/@PACKAGE@/&-vanilla/g' {} + \
|| die
}
src_install() {
toolchain-autoconf_src_install
# dissuade Portage from removing our dir file
touch "${ED}"/usr/share/${P}/info/.keepinfodir || die
}

View File

@ -81,6 +81,9 @@ src_test() {
src_install() {
toolchain-autoconf_src_install
# dissuade Portage from removing our dir file
touch "${ED}"/usr/share/${P}/info/.keepinfodir || die
local f
for f in config.{guess,sub} ; do
ln -fs ../../gnuconfig/${f} \

View File

@ -92,6 +92,9 @@ src_test() {
src_install() {
toolchain-autoconf_src_install
# dissuade Portage from removing our dir file
touch "${ED}"/usr/share/${P}/info/.keepinfodir || die
local f
for f in config.{guess,sub} ; do
ln -fs ../../gnuconfig/${f} \

View File

@ -92,6 +92,9 @@ src_test() {
src_install() {
toolchain-autoconf_src_install
# dissuade Portage from removing our dir file
touch "${ED}"/usr/share/${P}/info/.keepinfodir || die
local f
for f in config.{guess,sub} ; do
ln -fs ../../gnuconfig/${f} \