mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-build/autoconf: keep info/ unchanged
inspired by https://bugs.gentoo.org/257260, otherwise `info/dir' will be regenerated by portage, and `equery check` will complain: > /usr/share/autoconf-2.72/info/dir.bz2 does not exist or > /usr/share/autoconf-2.72/info/dir has wrong mtime (is 1744192720, should be 1744192708) 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
0eeacb36af
commit
d348efffed
@ -58,3 +58,10 @@ src_configure() {
|
||||
--program-suffix="-${PV}" \
|
||||
--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
|
||||
}
|
||||
|
||||
@ -80,3 +80,10 @@ src_prepare() {
|
||||
src_test() {
|
||||
emake check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
toolchain-autoconf_src_install
|
||||
|
||||
# dissuade Portage from removing our dir file
|
||||
touch "${ED}"/usr/share/${P}/info/.keepinfodir || die
|
||||
}
|
||||
|
||||
@ -80,6 +80,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} \
|
||||
|
||||
@ -93,6 +93,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} \
|
||||
|
||||
@ -89,6 +89,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} \
|
||||
|
||||
@ -91,6 +91,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