summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2007-12-14 17:26:58 +0000
committerRobert Buchholz <rbu@gentoo.org>2007-12-14 17:26:58 +0000
commit6a20086a39129f207f8a97eeab5e5f45e3df66a2 (patch)
treee2c234d97041ec9e61ad6b4db158732236db4385 /app-emulation/xen-tools
parentStable on ppc wrt bug 202245 (diff)
downloadgentoo-2-6a20086a39129f207f8a97eeab5e5f45e3df66a2.tar.gz
gentoo-2-6a20086a39129f207f8a97eeab5e5f45e3df66a2.tar.bz2
gentoo-2-6a20086a39129f207f8a97eeab5e5f45e3df66a2.zip
Added a check for USE=ncurses in python in case we use pygrub
(Portage version: 2.1.3.19)
Diffstat (limited to 'app-emulation/xen-tools')
-rw-r--r--app-emulation/xen-tools/ChangeLog5
-rw-r--r--app-emulation/xen-tools/xen-tools-3.1.2.ebuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/app-emulation/xen-tools/ChangeLog b/app-emulation/xen-tools/ChangeLog
index 96c0089c6fd0..244d1cd21ea3 100644
--- a/app-emulation/xen-tools/ChangeLog
+++ b/app-emulation/xen-tools/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emulation/xen-tools
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.33 2007/11/17 00:13:28 marineam Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.34 2007/12/14 17:26:58 rbu Exp $
+
+ 14 Dec 2007; Robert Buchholz <rbu@gentoo.org> xen-tools-3.1.2.ebuild:
+ Added a check for USE=ncurses in python in case we use pygrub
*xen-tools-3.1.2 (17 Nov 2007)
diff --git a/app-emulation/xen-tools/xen-tools-3.1.2.ebuild b/app-emulation/xen-tools/xen-tools-3.1.2.ebuild
index 8d6a87e0aa1b..299d67122bcd 100644
--- a/app-emulation/xen-tools/xen-tools-3.1.2.ebuild
+++ b/app-emulation/xen-tools/xen-tools-3.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.1.2.ebuild,v 1.1 2007/11/17 00:13:28 marineam Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.1.2.ebuild,v 1.2 2007/12/14 17:26:58 rbu Exp $
inherit flag-o-matic eutils multilib
@@ -74,6 +74,12 @@ pkg_setup() {
eerror "'png' and/or 'gif' to your use flags and re-emerge latex2html"
die "latex2html missing both png and gif flags"
fi
+
+ if use pygrub && ! built_with_use dev-lang/python ncurses; then
+ eerror "USE=pygrub requires python to be built with ncurses support. Please add"
+ eerror "'ncurses' to your use flags and re-emerge python"
+ die "python is missing ncurses flags"
+ fi
}
src_unpack() {