sys-devel/bison: Avoid maintainer-mode.
authorLars Wendler <polynomial-c@gentoo.org>
Sun, 18 Feb 2018 18:20:21 +0000 (19:20 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Sun, 18 Feb 2018 18:23:03 +0000 (19:23 +0100)
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

index 615f9869e38c5f8d7c2d4ddd71762a7966fbe4c6..f21a9f2a9e6110b141a36dd1aaf6514602b049c8 100644 (file)
@@ -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() {