sys-devel/bison: avoid bison.info regeneration #574492
authorMike Frysinger <vapier@gentoo.org>
Sat, 13 Feb 2016 09:44:29 +0000 (04:44 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 13 Feb 2016 09:59:08 +0000 (04:59 -0500)
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

index 1fcf9c9a09349a221e9ae44b9fe890cc1a6a0993..8a24b52a57e78205ebba6bfd3ce5dd877b84571c 100644 (file)
@@ -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() {