summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-02-13 04:44:29 -0500
committerMike Frysinger <vapier@gentoo.org>2016-02-13 04:59:08 -0500
commit45cd7c09cf2f2e664af3e1e90770318372288eb9 (patch)
treef7bb56878996cdbbb3cce4c1b6056d8a316a25f5
parentdev-libs/libisoburn: Remove old. (diff)
downloadgentoo-45cd7c09cf2f2e664af3e1e90770318372288eb9.tar.gz
gentoo-45cd7c09cf2f2e664af3e1e90770318372288eb9.tar.bz2
gentoo-45cd7c09cf2f2e664af3e1e90770318372288eb9.zip
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.
-rw-r--r--sys-devel/bison/bison-3.0.4-r1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-devel/bison/bison-3.0.4-r1.ebuild b/sys-devel/bison/bison-3.0.4-r1.ebuild
index 1fcf9c9a0934..8a24b52a57e7 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() {