Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 78313
Collapse All | Expand All

(-)ncurses-5.4-r5.ebuild (+19 lines)
Lines 15-21 Link Here
15
15
16
DEPEND="gpm? ( sys-libs/gpm )"
16
DEPEND="gpm? ( sys-libs/gpm )"
17
17
18
warning() {
19
	ebeep
20
	ewarn
21
	ewarn "If you're have already ncurses with unicode USE flag that it may brake you system!"
22
	ewarn "This non-bug is particularily nasty in that it kills nearly everything, including "
23
	ewarn "ls, gcc, links, firefox, etc."
24
	ewarn "If you want continue then set the COMPILE_NCURSES variable to TRUE!"
25
	ewarn
26
	epause 5
27
	die "It's NOTABUG! SEE WARN BELOW!"
28
}
29
18
src_unpack() {
30
src_unpack() {
31
	# check for unicode use flag
32
	# See #78313
33
	if use !unicode && [ "$COMPILE_NCURSES" != "TRUE" ];
34
		 then
35
			 warning
36
	fi
37
19
	unpack ${A}
38
	unpack ${A}
20
	cd "${S}"
39
	cd "${S}"
21
	epatch "${FILESDIR}"/${P}-xterm.patch
40
	epatch "${FILESDIR}"/${P}-xterm.patch

Return to bug 78313