commit:     9ba1c4dcae464be256fcbf807f599e2f40460c96
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 31 08:36:59 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Jul 31 08:38:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba1c4dc

app-editors/nano: USE="-ncurses slang" requires USE="minimal"

Closes: https://bugs.gentoo.org/734846
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-editors/nano/nano-4.9.3.ebuild | 3 +++
 app-editors/nano/nano-5.0.ebuild   | 3 +++
 app-editors/nano/nano-9999.ebuild  | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/app-editors/nano/nano-4.9.3.ebuild 
b/app-editors/nano/nano-4.9.3.ebuild
index bd791de7db4..12638bf0a52 100644
--- a/app-editors/nano/nano-4.9.3.ebuild
+++ b/app-editors/nano/nano-4.9.3.ebuild
@@ -32,6 +32,9 @@ BDEPEND="
        nls? ( sys-devel/gettext )
        virtual/pkgconfig
 "
+
+REQUIRED_USE="!ncurses? ( slang? ( minimal ) )"
+
 PATCHES=(
        "${FILESDIR}/${P}-disable-speller_build_fix.patch"
        "${FILESDIR}/${P}-minimal_build_fix.patch" #734856

diff --git a/app-editors/nano/nano-5.0.ebuild b/app-editors/nano/nano-5.0.ebuild
index e27dda0e78d..e49803f3fe5 100644
--- a/app-editors/nano/nano-5.0.ebuild
+++ b/app-editors/nano/nano-5.0.ebuild
@@ -32,6 +32,9 @@ BDEPEND="
        nls? ( sys-devel/gettext )
        virtual/pkgconfig
 "
+
+REQUIRED_USE="!ncurses? ( slang? ( minimal ) )"
+
 src_prepare() {
        default
        if [[ ${PV} == "9999" ]] ; then

diff --git a/app-editors/nano/nano-9999.ebuild 
b/app-editors/nano/nano-9999.ebuild
index e27dda0e78d..e49803f3fe5 100644
--- a/app-editors/nano/nano-9999.ebuild
+++ b/app-editors/nano/nano-9999.ebuild
@@ -32,6 +32,9 @@ BDEPEND="
        nls? ( sys-devel/gettext )
        virtual/pkgconfig
 "
+
+REQUIRED_USE="!ncurses? ( slang? ( minimal ) )"
+
 src_prepare() {
        default
        if [[ ${PV} == "9999" ]] ; then

Reply via email to