commit:     662807ab75d61d5292b75839254409ea0e49d096
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 23:12:54 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 23:29:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=662807ab

app-misc/mc: drop confusing message about USE="slang unicode"

According to https://www.jedsoft.org/slang/doc/html/cslang-4.html S-Lang
*HAS* got native Unicode support, which thanks to the presence of
"SLutf8_enable(-1)" in mc code is activated whenever a UTF-8 locale is
in use. In other words, it's USE=-unicode that has no effect on
app-misc/mc[slang] - and IMHO anyone intentionally disabling Unicode
support in 2023 should already know what they are doing (and are
unlikely to have an UTF-8 locale active).

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 app-misc/mc/mc-4.8.28-r2.ebuild | 8 +-------
 app-misc/mc/mc-4.8.29.ebuild    | 6 ------
 app-misc/mc/mc-9999.ebuild      | 8 +-------
 3 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/app-misc/mc/mc-4.8.28-r2.ebuild b/app-misc/mc/mc-4.8.28-r2.ebuild
index eb1c2075cb4c..451855488b1f 100644
--- a/app-misc/mc/mc-4.8.28-r2.ebuild
+++ b/app-misc/mc/mc-4.8.28-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -52,12 +52,6 @@ PATCHES=(
        "${FILESDIR}"/${P}-tests.patch #836812
 )
 
-pkg_pretend() {
-       if use slang && use unicode ; then
-               ewarn "\"unicode\" USE flag only takes effect when the 
\"slang\" USE flag is disabled."
-       fi
-}
-
 src_prepare() {
        default
        # patch touches configure.ac

diff --git a/app-misc/mc/mc-4.8.29.ebuild b/app-misc/mc/mc-4.8.29.ebuild
index dd866468de2a..0b95179bd4e6 100644
--- a/app-misc/mc/mc-4.8.29.ebuild
+++ b/app-misc/mc/mc-4.8.29.ebuild
@@ -52,12 +52,6 @@ PATCHES=(
        "${FILESDIR}"/${PN}-4.8.29-gentoo-tools.patch
 )
 
-pkg_pretend() {
-       if use slang && use unicode ; then
-               ewarn "\"unicode\" USE flag only takes effect when the 
\"slang\" USE flag is disabled."
-       fi
-}
-
 src_prepare() {
        default
        # patch touches configure.ac

diff --git a/app-misc/mc/mc-9999.ebuild b/app-misc/mc/mc-9999.ebuild
index 418ebc976d9a..224d3fdacd58 100644
--- a/app-misc/mc/mc-9999.ebuild
+++ b/app-misc/mc/mc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -47,12 +47,6 @@ RESTRICT="!test? ( test )"
 
 S="${WORKDIR}/${MY_P}"
 
-pkg_pretend() {
-       if use slang && use unicode ; then
-               ewarn "\"unicode\" USE flag only takes effect when the 
\"slang\" USE flag is disabled."
-       fi
-}
-
 src_prepare() {
        default
 

Reply via email to