--- ncurses-5.4-r5.ebuild 2005-03-22 13:49:10.376229032 +0200 +++ ncurses-5.4-r5.ebuild 2005-03-22 13:48:11.688150976 +0200 @@ -15,7 +15,26 @@ DEPEND="gpm? ( sys-libs/gpm )" +warning() { + ebeep + ewarn + ewarn "If you're have already ncurses with unicode USE flag that it may brake you system!" + ewarn "This non-bug is particularily nasty in that it kills nearly everything, including " + ewarn "ls, gcc, links, firefox, etc." + ewarn "If you want continue then set the COMPILE_NCURSES variable to TRUE!" + ewarn + epause 5 + die "It's NOTABUG! SEE WARN BELOW!" +} + src_unpack() { + # check for unicode use flag + # See #78313 + if use !unicode && [ "$COMPILE_NCURSES" != "TRUE" ]; + then + warning + fi + unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-xterm.patch