mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
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:
parent
6c336968af
commit
d2b93f418c
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
@ -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} \
|
||||
|
||||
@ -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} \
|
||||
|
||||
@ -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} \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user