app-shells/zsh: Synced live ebuild
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 12 Dec 2019 09:21:01 +0000 (10:21 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 12 Dec 2019 09:21:22 +0000 (10:21 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
app-shells/zsh/zsh-9999.ebuild

index 73b57b6dba70b4ef488ba71f6f38aa929471cf5c..503a4d64a9e43fbb0e309f6bfc09cd9faf61e310 100644 (file)
@@ -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-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() {
@@ -80,6 +81,7 @@ src_configure() {
                --enable-site-fndir="${EPREFIX}"/usr/share/zsh/site-functions
                --enable-function-subdirs
                --with-tcsetpgrp
+               --with-term-lib="$(usex unicode 'tinfow ncursesw' 'tinfo ncurses')"
                $(use_enable maildir maildir-support)
                $(use_enable pcre)
                $(use_enable caps cap)