commit:     c774dee9dcbc6c868a85d73ff32e937735a98caf
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 24 08:05:22 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Jul 24 08:06:38 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c774dee9

app-shells/zsh: prefixify configure.ac.

Some tests, like /usr/bin/ypbind, captures host features and
results in build failure.

Closes: https://bugs.gentoo.org/690424
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-shells/zsh/zsh-5.7.1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app-shells/zsh/zsh-5.7.1.ebuild b/app-shells/zsh/zsh-5.7.1.ebuild
index 7455f193772..103eb4abf6a 100644
--- a/app-shells/zsh/zsh-5.7.1.ebuild
+++ b/app-shells/zsh/zsh-5.7.1.ebuild
@@ -3,10 +3,10 @@
 
 EAPI=7
 
-inherit flag-o-matic prefix
+inherit autotools flag-o-matic prefix
 
 if [[ ${PV} == 9999* ]] ; then
-       inherit git-r3 autotools
+       inherit git-r3
        EGIT_REPO_URI="https://git.code.sf.net/p/zsh/code";
 else
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris 
~x86-solaris"
@@ -64,10 +64,11 @@ src_prepare() {
 
        default
 
+       hprefixify configure.ac
        if [[ ${PV} == 9999* ]] ; then
                sed -i "/^VERSION=/s/=.*/=${PV}/" Config/version.mk || die
-               eautoreconf
        fi
+       eautoreconf
 }
 
 src_configure() {

Reply via email to