summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-07-31 10:36:59 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-07-31 10:38:07 +0200
commit9ba1c4dcae464be256fcbf807f599e2f40460c96 (patch)
tree7a4c33450fc24cd004c3245bceea629256794d81
parentapp-editors/nano: Fixed build with USE="minimal" and USE="-spell" (diff)
downloadgentoo-9ba1c4dcae464be256fcbf807f599e2f40460c96.tar.gz
gentoo-9ba1c4dcae464be256fcbf807f599e2f40460c96.tar.bz2
gentoo-9ba1c4dcae464be256fcbf807f599e2f40460c96.zip
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@gentoo.org>
-rw-r--r--app-editors/nano/nano-4.9.3.ebuild3
-rw-r--r--app-editors/nano/nano-5.0.ebuild3
-rw-r--r--app-editors/nano/nano-9999.ebuild3
3 files changed, 9 insertions, 0 deletions
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