commit:     06f54722192f7484965fcbb77355de9a6200f6b8
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 18 18:20:21 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sun Feb 18 18:23:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06f54722

sys-devel/bison: Avoid maintainer-mode.

Bug: https://bugs.gentoo.org/647410
Bug: https://bugs.gentoo.org/648012
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 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 615f9869e38..f21a9f2a9e6 100644
--- a/sys-devel/bison/bison-3.0.4-r1.ebuild
+++ b/sys-devel/bison/bison-3.0.4-r1.ebuild
@@ -33,6 +33,8 @@ src_prepare() {
        touch doc/bison.1 #548778 #538300#9
        # Avoid regenerating the info page when the timezone is diff. #574492
        sed -i '2iexport TZ=UTC' build-aux/mdate-sh || die
+       # ugly workaround to avoid maintainer mode (see #647410 and #648012)
+       printf '#!/bin/sh\nexit 0\n' > build-aux/missing || die
 }
 
 src_configure() {

Reply via email to