logo

overlay

Personnal gentoo overlay
commit: 4c2581ca0d23157a58cbd6c57a0d78d4660c9e49
parent: 7f861dbde1496d20cfc9b6ced516ebb55e2bb558
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri,  4 Aug 2017 11:36:50 +0200

app-editors/vis-9999: Fix curses + add FEATURES=test

Diffstat:

app-editors/vis/vis-9999.ebuild | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild @@ -11,16 +11,20 @@ EGIT_REPO_URI="https://github.com/martanne/vis.git" LICENSE="ISC" SLOT="0" KEYWORDS="" -IUSE="+ncurses lua lpeg selinux tre" +IUSE="+ncurses lua lpeg selinux test tre" #TODO: virtual/curses DEPEND="dev-libs/libtermkey lua? ( >=dev-lang/lua-5.2:= ) tre? ( dev-libs/tre:= ) ncurses? ( sys-libs/ncurses:= )" RDEPEND="${DEPEND} lua? ( lpeg? ( >=dev-lua/lpeg-0.12 ) ) " +src_prepare() { + use test && which vim &>/dev/null || sed -i 's/.*vim.*//' "${S}/test/Makefile" +} + src_configure() { econf \ - $(use_enable curses) \ $(use_enable lua) \ + $(use_enable ncurses curses) \ $(use_enable selinux) \ $(use_enable tre) }