mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lang/lua: use optfeature for app-emacs/lua-mode
The typo in 54c7ad6dde83e741d65b055aefa2ae4067928054 pretty much justifies this (i.e. don't choose a complicated solution when a simple one will do), as the previous thing never worked. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit portability toolchain-funcs
|
||||
inherit optfeature portability toolchain-funcs
|
||||
|
||||
DESCRIPTION="A powerful light-weight programming language designed for extending applications"
|
||||
HOMEPAGE="https://www.lua.org/"
|
||||
@@ -141,9 +141,5 @@ src_test() {
|
||||
pkg_postinst() {
|
||||
eselect lua set --if-unset "${PN}${SLOT}"
|
||||
|
||||
if has_version "app-editors/emacs"; then
|
||||
if ! has_version "app-emacs/lua-mode"; then
|
||||
einfo "Install app-emacs/lua-mode for lua support for emacs"
|
||||
fi
|
||||
fi
|
||||
optfeature "Lua support for Emacs" app-emacs/lua-mode
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools portability toolchain-funcs
|
||||
inherit autotools optfeature portability toolchain-funcs
|
||||
|
||||
DESCRIPTION="A powerful light-weight programming language designed for extending applications"
|
||||
HOMEPAGE="https://www.lua.org/"
|
||||
@@ -183,9 +183,5 @@ src_test() {
|
||||
pkg_postinst() {
|
||||
eselect lua set --if-unset "${PN}${SLOT}"
|
||||
|
||||
if has_version "app-editors/emacs"; then
|
||||
if ! has_version "app-emacs/lua-mode"; then
|
||||
einfo "Install app-emacs/lua-mode for lua support for emacs"
|
||||
fi
|
||||
fi
|
||||
optfeature "Lua support for Emacs" app-emacs/lua-mode
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools portability toolchain-funcs
|
||||
inherit autotools optfeature portability toolchain-funcs
|
||||
|
||||
DESCRIPTION="A powerful light-weight programming language designed for extending applications"
|
||||
HOMEPAGE="https://www.lua.org/"
|
||||
@@ -180,9 +180,5 @@ src_test() {
|
||||
pkg_postinst() {
|
||||
eselect lua set --if-unset "${PN}${SLOT}"
|
||||
|
||||
if has_version "app-editors/emacs"; then
|
||||
if ! has_version "app-emacs/lua-mode"; then
|
||||
einfo "Install app-emacs/lua-mode for lua support for emacs"
|
||||
fi
|
||||
fi
|
||||
optfeature "Lua support for Emacs" app-emacs/lua-mode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user