summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/ncurses')
-rw-r--r--sys-libs/ncurses/ChangeLog5
-rw-r--r--sys-libs/ncurses/ncurses-5.4-r5.ebuild12
2 files changed, 15 insertions, 2 deletions
diff --git a/sys-libs/ncurses/ChangeLog b/sys-libs/ncurses/ChangeLog
index d1a9488ce64a..6354a7c4de1c 100644
--- a/sys-libs/ncurses/ChangeLog
+++ b/sys-libs/ncurses/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/ncurses
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ChangeLog,v 1.89 2005/01/30 11:42:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ChangeLog,v 1.90 2005/03/22 18:48:59 lanius Exp $
+
+ 22 Mar 2005; Heinrich Wendel <lanius@gentoo.org> ncurses-5.4-r5.ebuild:
+ add warning for bug #78313
30 Jan 2005; Mike Frysinger <vapier@gentoo.org> ncurses-5.4-r5.ebuild:
Since gpm no longer DEPENDs on autoconf, it should be save to DEPEND on again.
diff --git a/sys-libs/ncurses/ncurses-5.4-r5.ebuild b/sys-libs/ncurses/ncurses-5.4-r5.ebuild
index ad7f85e0454b..24c7493d8a63 100644
--- a/sys-libs/ncurses/ncurses-5.4-r5.ebuild
+++ b/sys-libs/ncurses/ncurses-5.4-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.4-r5.ebuild,v 1.21 2005/03/13 04:52:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.4-r5.ebuild,v 1.22 2005/03/22 18:48:59 lanius Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -15,6 +15,16 @@ IUSE="gpm build bootstrap debug doc uclibc unicode nocxx"
DEPEND="gpm? ( sys-libs/gpm )"
+pkg_setup() {
+ # check for unicode use flag, see bug #78313
+ if use !unicode && [ -f /usr/lib/libncursesw.so ] && [ "$COMPILE_NCURSES" != "TRUE" ]; then
+ ewarn "Remerging ncurses without unicoe in USE flags will break your system"
+ ewarn "For more information see bug #78313"
+ ewarn "If you still want continue set COMPILE_NCURSES variable to TRUE"
+ die
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}"