commit:     97c208dd579e297989f4d98e7f5d3385193a9711
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  7 13:50:54 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Sep  7 14:30:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c208dd

x11-terms/rxvt-unicode: allow USE='perl -fading-colors' but print a warning

Closes: https://bugs.gentoo.org/830329
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 x11-terms/rxvt-unicode/rxvt-unicode-9.30.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-terms/rxvt-unicode/rxvt-unicode-9.30.ebuild 
b/x11-terms/rxvt-unicode/rxvt-unicode-9.30.ebuild
index 627d10b5c1db..86a4146c636a 100644
--- a/x11-terms/rxvt-unicode/rxvt-unicode-9.30.ebuild
+++ b/x11-terms/rxvt-unicode/rxvt-unicode-9.30.ebuild
@@ -18,9 +18,6 @@ KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 
~riscv sparc x86"
 IUSE="24-bit-color 256-color blink fading-colors +font-styles gdk-pixbuf 
iso14755 +mousewheel
        perl startup-notification unicode3 xft"
 
-# Bug #830329
-REQUIRED_USE="perl? ( fading-colors )"
-
 RDEPEND=">=sys-libs/ncurses-5.7-r6:=
        dev-libs/libptytty
        media-libs/fontconfig
@@ -114,4 +111,7 @@ pkg_postinst() {
                ewarn "rebuild =${CATEGORY}/${PF} with USE=-24-bit-color (the 
default setting)."
                ewarn
        fi
+       if use perl && ! use fading-colors; then
+               ewarn "Note that some of the Perl plug-ins bundled with ${PN} 
will fail to load without USE=fading-colors"
+       fi
 }

Reply via email to