summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-02-15 19:24:50 +0000
committerSamuli Suominen <drac@gentoo.org>2008-02-15 19:24:50 +0000
commit47f5dbec5a79e265b1adc9e98f954f7cb523e502 (patch)
treea60cf1a0062b4f92d32b8004d1f2c7a710a64260 /sys-libs/slang
parentStable on ppc wrt bug 207095 (diff)
downloadgentoo-2-47f5dbec5a79e265b1adc9e98f954f7cb523e502.tar.gz
gentoo-2-47f5dbec5a79e265b1adc9e98f954f7cb523e502.tar.bz2
gentoo-2-47f5dbec5a79e265b1adc9e98f954f7cb523e502.zip
sys-libs/ncurses is required for /usr/share/terminfo files which means it cannot be built with USE minimal wrt #210063 by Saul Peebsen.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-libs/slang')
-rw-r--r--sys-libs/slang/ChangeLog6
-rw-r--r--sys-libs/slang/slang-2.1.3-r1.ebuild13
2 files changed, 16 insertions, 3 deletions
diff --git a/sys-libs/slang/ChangeLog b/sys-libs/slang/ChangeLog
index d98fa2612686..82d31b5e0968 100644
--- a/sys-libs/slang/ChangeLog
+++ b/sys-libs/slang/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/slang
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.78 2008/02/11 15:46:51 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.79 2008/02/15 19:24:50 drac Exp $
+
+ 15 Feb 2008; Samuli Suominen <drac@gentoo.org> slang-2.1.3-r1.ebuild:
+ sys-libs/ncurses is required for /usr/share/terminfo files which means it
+ cannot be built with USE minimal wrt #210063 by Saul Peebsen.
11 Feb 2008; Jeroen Roovers <jer@gentoo.org> slang-2.1.3-r1.ebuild:
Marked ~hppa (bug #209422).
diff --git a/sys-libs/slang/slang-2.1.3-r1.ebuild b/sys-libs/slang/slang-2.1.3-r1.ebuild
index c33d2d875b10..f30ee8241f23 100644
--- a/sys-libs/slang/slang-2.1.3-r1.ebuild
+++ b/sys-libs/slang/slang-2.1.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-2.1.3-r1.ebuild,v 1.6 2008/02/11 15:46:51 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-2.1.3-r1.ebuild,v 1.7 2008/02/15 19:24:50 drac Exp $
inherit eutils
@@ -13,12 +13,21 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="cjk pcre png"
-RDEPEND="pcre? ( dev-libs/libpcre )
+RDEPEND="sys-libs/ncurses
+ pcre? ( dev-libs/libpcre )
png? ( media-libs/libpng )
cjk? ( dev-libs/oniguruma )"
DEPEND="${RDEPEND}
!=sys-libs/slang-2.1.2"
+pkg_setup() {
+ local fail="Re-emerge sys-libs/ncurses with USE -minimal."
+ if built_with_use sys-libs/ncurses minimal; then
+ eerror "${fail}"
+ die "${fail}"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}"