Bug 167316 - app-misc/mc - USE=unicode is not honored without USE=slang
Bug#: 167316 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: CLOSED Severity: normal Priority: P2
Resolution: FIXED Assigned To: maintainer-needed@gentoo.org Reported By: jakub@gentoo.org
Component: Ebuilds
URL: 
Summary: app-misc/mc - USE=unicode is not honored without USE=slang
Keywords:  
Status Whiteboard: 
Opened: 2007-02-17 11:10 0000
Description:   Opened: 2007-02-17 11:10 0000
Unicode flag only makes sense and is actually valid if you have USE=slang set.
There's already been quite a couple of bugs from people who do not realize
this.

<snip>
if use slang && use unicode; then
        epatch ${DISTDIR}/${P}-utf8-r1.patch.bz2
fi
</snip>

Suggestions:

- either the ebuild should depend on sys-libs/slang when USE=unicode is set and
enable slang support accordingly
- or it should die (or ewarn at least) w/ USE="unicode -slang" to avoid
unexpected results and confusion

@jokey - you were the last who touched the one, mind taking care of this? :)

------- Comment #1 From Markus Ullmann 2007-04-23 18:43:18 0000 -------
Added a error as pkg_setup