logo

overlay

Personnal gentoo overlay
commit: 4fcfa2481db23052e99557af47689b5da2c250e3
parent: c7fde7f545a1b428b9053337ff2429c626039cde
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 25 Mar 2017 18:06:28 +0100

app-editors/vis-9999: config.mk → ./configure

Diffstat:

app-editors/vis/vis-9999.ebuild | 14++++----------
1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild @@ -16,16 +16,10 @@ IUSE="+lua +lpeg -selinux tre" DEPEND="sys-libs/ncurses:= dev-libs/libtermkey lua? ( >=dev-lang/lua-5.2:= ) tre? ( dev-libs/tre:* )" RDEPEND="${DEPEND} lua? ( lpeg? ( >=dev-lua/lpeg-0.12 ) ) " -src_prepare() { - use lua || { - sed -i -e 's|CONFIG_LUA=1|CONFIG_LUA=0|' \ - config.mk || die "sed config.mk failed" - } - - use selinux && { - sed -i -e 's|CONFIG_SELINUX=0|CONFIG_SELINUX=1|' \ - config.mk || die "sed config.mk failed" - } +src_configure() { + econf $(use_enable lua) + econf $(use_enable tre) + econf $(use_enable selinux) } update_symlinks() {