commit: a1ce43fc69669cc7a74a1972e59703454a069ddf Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> AuthorDate: Wed Jan 12 19:43:58 2022 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Wed Jan 12 19:44:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ce43fc
dev-vcs/tig: Sync 9999 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> dev-vcs/tig/tig-9999.ebuild | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/dev-vcs/tig/tig-9999.ebuild b/dev-vcs/tig/tig-9999.ebuild index 3ea9666006a2..656ca0a2e20b 100644 --- a/dev-vcs/tig/tig-9999.ebuild +++ b/dev-vcs/tig/tig-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit bash-completion-r1 @@ -18,14 +18,18 @@ HOMEPAGE="https://jonas.github.io/tig/" LICENSE="GPL-2" SLOT="0" -IUSE="test unicode" +IUSE="pcre test unicode" REQUIRED_USE="test? ( unicode )" DEPEND=" sys-libs/ncurses:=[unicode(+)?] - sys-libs/readline:0=" -RDEPEND="${DEPEND} - dev-vcs/git" + sys-libs/readline:0= + pcre? ( dev-libs/libpcre2:= ) +" +RDEPEND=" + ${DEPEND} + dev-vcs/git +" [[ ${PV} == "9999" ]] && BDEPEND+=" app-text/asciidoc app-text/xmlto" # encoding/env issues @@ -37,7 +41,9 @@ src_prepare() { } src_configure() { - econf $(use_with unicode ncursesw) + econf \ + $(use_with pcre) \ + $(use_with unicode ncursesw) } src_compile() { @@ -47,7 +53,7 @@ src_compile() { src_test() { # workaround parallel test failures - emake -j1 test + LC_ALL=en_US.utf8 emake -j1 test } src_install() {
