commit: e55a2d9caa18a197b99b0c52328664204c61c3b5
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 12 15:11:44 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Wed Aug 12 15:13:19 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e55a2d9c
app-editors/curses-hexedit: various fixes
* 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.
app-editors/curses-hexedit/curses-hexedit-0.9.7.ebuild | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/app-editors/curses-hexedit/curses-hexedit-0.9.7.ebuild
b/app-editors/curses-hexedit/curses-hexedit-0.9.7.ebuild
index 4ba0ace..0d57722 100644
--- a/app-editors/curses-hexedit/curses-hexedit-0.9.7.ebuild
+++ b/app-editors/curses-hexedit/curses-hexedit-0.9.7.ebuild
@@ -1,10 +1,12 @@
-# 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)"
@@ -16,11 +18,14 @@ SLOT="0"
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-
}