From 4dab287e8196e0180d80e550c9aa3a033fc41b29 Mon Sep 17 00:00:00 2001 From: Heinrich Wendel Date: Tue, 22 Mar 2005 18:48:59 +0000 Subject: add warning for bug #78313 (Portage version: 2.0.51.19) --- sys-libs/ncurses/ChangeLog | 5 ++++- sys-libs/ncurses/ncurses-5.4-r5.ebuild | 12 +++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'sys-libs/ncurses') 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 ncurses-5.4-r5.ebuild: + add warning for bug #78313 30 Jan 2005; Mike Frysinger 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}" -- cgit v1.2.3-65-gdbad