summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2007-09-30 14:56:19 +0000
committerAndrej Kacian <ticho@gentoo.org>2007-09-30 14:56:19 +0000
commit39947d78e5dcaab28e3e448ed5a8ca57f2527272 (patch)
treefe0486a545917557b28a0f648863db73f7ae21ae /dev-libs/stfl
parentSparc stable --- Bug #194246 --- thanks, Tiago. (diff)
downloadgentoo-2-39947d78e5dcaab28e3e448ed5a8ca57f2527272.tar.gz
gentoo-2-39947d78e5dcaab28e3e448ed5a8ca57f2527272.tar.bz2
gentoo-2-39947d78e5dcaab28e3e448ed5a8ca57f2527272.zip
Added a check for unicode-aware ncurses. Patch by Antti Järvinen <netfiniitti at kapsi.fi> in bug #192897.
(Portage version: 2.1.3.7)
Diffstat (limited to 'dev-libs/stfl')
-rw-r--r--dev-libs/stfl/ChangeLog6
-rw-r--r--dev-libs/stfl/stfl-0.17.ebuild11
2 files changed, 14 insertions, 3 deletions
diff --git a/dev-libs/stfl/ChangeLog b/dev-libs/stfl/ChangeLog
index ad7f33139619..a4a33076a2bf 100644
--- a/dev-libs/stfl/ChangeLog
+++ b/dev-libs/stfl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/stfl
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.10 2007/09/04 22:42:32 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.11 2007/09/30 14:56:19 ticho Exp $
+
+ 30 Sep 2007; Andrej Kacian <ticho@gentoo.org> stfl-0.17.ebuild:
+ Added a check for unicode-aware ncurses. Patch by Antti Järvinen
+ <netfiniitti at kapsi.fi> in bug #192897.
*stfl-0.17 (04 Sep 2007)
diff --git a/dev-libs/stfl/stfl-0.17.ebuild b/dev-libs/stfl/stfl-0.17.ebuild
index 10191094aed9..e8cec4ab35c1 100644
--- a/dev-libs/stfl/stfl-0.17.ebuild
+++ b/dev-libs/stfl/stfl-0.17.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/stfl-0.17.ebuild,v 1.1 2007/09/04 22:42:32 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/stfl-0.17.ebuild,v 1.2 2007/09/30 14:56:19 ticho Exp $
-inherit perl-module toolchain-funcs
+inherit perl-module toolchain-funcs eutils
DESCRIPTION="A library which implements a curses-based widget set for text terminals"
HOMEPAGE="http://www.clifford.at/stfl/"
@@ -42,6 +42,13 @@ src_unpack() {
}
src_compile() {
+ if ! built_with_use sys-libs/ncurses unicode ; then
+ eerror "For this package to compile you must"
+ eerror "enable unicode use flag for ncurses."
+ eerror "Please re-emerge ncurses with unicode"
+ eerror "use flag."
+ die
+ fi
emake -j1 CC="$(tc-getCC)" || die "make failed"
}