summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-03-22 18:48:59 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-03-22 18:48:59 +0000
commit4dab287e8196e0180d80e550c9aa3a033fc41b29 (patch)
tree49c46ec926b69db4d65b56f03018e43860622076
parentUpdated games_make_wrapper to make it simpler and more like other games funct... (diff)
downloadgentoo-2-4dab287e8196e0180d80e550c9aa3a033fc41b29.tar.gz
gentoo-2-4dab287e8196e0180d80e550c9aa3a033fc41b29.tar.bz2
gentoo-2-4dab287e8196e0180d80e550c9aa3a033fc41b29.zip
add warning for bug #78313
(Portage version: 2.0.51.19)
-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}"