* Update to EAPI=5
* Use subslots w/ncurses dep
* Set up a sane CC value by default
* Force CONFIG_SHELL as non-bash /bin/sh breaks things
Maybe someday there will be a new release w/configure generated by a
recent autoconf and we can drop some of these hacks.
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
# There's already a "hexedit" package in the tree, so name this one differently
-EAPI="4"
+EAPI="5"
+
+inherit toolchain-funcs
MY_P=${P/curses-}
DESCRIPTION="full screen curses hex editor (with insert/delete support)"
KEYWORDS="amd64 x86"
IUSE=""
-RDEPEND="sys-libs/ncurses"
+RDEPEND="sys-libs/ncurses:="
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_configure() {
+ # Package has an old configure script.
+ CONFIG_SHELL="/bin/bash"
+ tc-export CC
econf --program-prefix=curses-
}