diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-12-03 14:20:14 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-12-03 14:21:02 +0100 |
commit | 2fc4d4df4771b70b043ceb4dbeb4f10deae242c6 (patch) | |
tree | 4664c151b376f2da7789813364811b44af12646b /app-editors/vis | |
parent | media-libs/glm: fix github remote-id (diff) | |
download | gentoo-2fc4d4df4771b70b043ceb4dbeb4f10deae242c6.tar.gz gentoo-2fc4d4df4771b70b043ceb4dbeb4f10deae242c6.tar.bz2 gentoo-2fc4d4df4771b70b043ceb4dbeb4f10deae242c6.zip |
app-editors/vis: only invoke lua-single_pkg_setup for USE=lua
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-editors/vis')
-rw-r--r-- | app-editors/vis/vis-0.6.ebuild | 4 | ||||
-rw-r--r-- | app-editors/vis/vis-9999.ebuild | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app-editors/vis/vis-0.6.ebuild b/app-editors/vis/vis-0.6.ebuild index 6d183fc5d65d..722f5a71fc9c 100644 --- a/app-editors/vis/vis-0.6.ebuild +++ b/app-editors/vis/vis-0.6.ebuild @@ -27,6 +27,10 @@ DEPEND="dev-libs/libtermkey RDEPEND="${DEPEND} app-eselect/eselect-vi" +pkg_setup() { + use lua && lua-single_pkg_setup +} + src_prepare() { if use test; then rm -r test || die diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild index e39c60682685..38ea0ff6ecd6 100644 --- a/app-editors/vis/vis-9999.ebuild +++ b/app-editors/vis/vis-9999.ebuild @@ -24,6 +24,10 @@ DEPEND="dev-libs/libtermkey RDEPEND="${DEPEND} app-eselect/eselect-vi" +pkg_setup() { + use lua && lua-single_pkg_setup +} + src_prepare() { sed -i 's|STRIP?=.*|STRIP=true|' Makefile || die sed -i 's|${DOCPREFIX}/vis|${DOCPREFIX}|' Makefile || die |