commit:     45cd7c09cf2f2e664af3e1e90770318372288eb9
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 13 09:44:29 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 09:59:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45cd7c09

sys-devel/bison: avoid bison.info regeneration #574492

The build logic generates a timestamp from the info pages, but does so
with a timezone aware function, and then truncates it to granularity of
days.  If your TZ happens to wrap the timezone over to a diff day, then
the build logic updates some files and runs makeinfo.

Clobber the info timestamp so it's newer than the sources and the TZ
state doesn't work.

 sys-devel/bison/bison-3.0.4-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-devel/bison/bison-3.0.4-r1.ebuild 
b/sys-devel/bison/bison-3.0.4-r1.ebuild
index 1fcf9c9..8a24b52 100644
--- a/sys-devel/bison/bison-3.0.4-r1.ebuild
+++ b/sys-devel/bison/bison-3.0.4-r1.ebuild
@@ -29,6 +29,8 @@ src_prepare() {
        # The makefiles make the man page depend on the configure script
        # which we patched above.  Touch it to prevent regeneration.
        touch doc/bison.1 #548778 #538300#9
+       # Avoid regenerating the info page when the timezone is diff.
+       touch doc/bison.info #574492
 }
 
 src_configure() {

Reply via email to