summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/s390-tools')
-rw-r--r--sys-apps/s390-tools/metadata.xml1
-rw-r--r--sys-apps/s390-tools/s390-tools-1.23.1.ebuild9
2 files changed, 7 insertions, 3 deletions
diff --git a/sys-apps/s390-tools/metadata.xml b/sys-apps/s390-tools/metadata.xml
index 1f175cf7fea8..3247a49e7b92 100644
--- a/sys-apps/s390-tools/metadata.xml
+++ b/sys-apps/s390-tools/metadata.xml
@@ -10,6 +10,7 @@ zSeries (s390) Linux kernel and device drivers
</longdescription>
<use>
<flag name="fuse">build cmsfs-fuse to read files stored on a z/VM CMS disk</flag>
+ <flag name="ncurses">build hyptop monitoring program</flag>
<flag name="zfcpdump">build the kernel disk dumping utility</flag>
</use>
<upstream>
diff --git a/sys-apps/s390-tools/s390-tools-1.23.1.ebuild b/sys-apps/s390-tools/s390-tools-1.23.1.ebuild
index 67e52b804acf..c1d27d3bfa98 100644
--- a/sys-apps/s390-tools/s390-tools-1.23.1.ebuild
+++ b/sys-apps/s390-tools/s390-tools-1.23.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI="5"
inherit eutils udev
@@ -21,9 +21,11 @@ SRC_URI="http://download.boulder.ibm.com/ibmdl/pub/software/dw/linux390/ht_src/$
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* s390"
-IUSE="fuse snmp zfcpdump"
+IUSE="fuse ncurses snmp zfcpdump"
-RDEPEND="fuse? ( sys-fs/fuse )
+RDEPEND="sys-libs/zlib
+ fuse? ( sys-fs/fuse )
+ ncurses? ( sys-libs/ncurses:0= )
snmp? ( net-analyzer/net-snmp )"
DEPEND="${RDEPEND}
dev-util/indent
@@ -34,6 +36,7 @@ src_prepare() {
use snmp || sed -i -e 's:osasnmpd::' Makefile
use fuse || { sed -i -e 's:cmsfs-fuse::' Makefile; export WITHOUT_FUSE=1; }
+ use ncurses || sed -i -e 's:hyptop::' Makefile
if use zfcpdump ; then
local x