summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/lua/lua-5.1.5-r105.ebuild4
-rw-r--r--dev-lang/lua/lua-5.2.4-r2.ebuild4
-rw-r--r--dev-lang/lua/lua-5.3.6-r1.ebuild4
-rw-r--r--dev-lang/lua/lua-5.4.1-r1.ebuild4
4 files changed, 12 insertions, 4 deletions
diff --git a/dev-lang/lua/lua-5.1.5-r105.ebuild b/dev-lang/lua/lua-5.1.5-r105.ebuild
index b3446900028f..31cf0b445a0f 100644
--- a/dev-lang/lua/lua-5.1.5-r105.ebuild
+++ b/dev-lang/lua/lua-5.1.5-r105.ebuild
@@ -15,7 +15,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~
IUSE="+deprecated readline static"
RDEPEND="readline? ( >=sys-libs/readline-6.2_p5-r1:0=[${MULTILIB_USEDEP}] )
- app-eselect/eselect-lua
+ >=app-eselect/eselect-lua-3
!dev-lang/lua:0"
DEPEND="${RDEPEND}
sys-devel/libtool"
@@ -140,6 +140,8 @@ multilib_src_test() {
}
pkg_postinst() {
+ eselect lua set --if-unset "${PN}${SLOT}"
+
if has_version "app-editor/emacs"; then
if ! has_version "app-emacs/lua-mode"; then
einfo "Install app-emacs/lua-mode for lua support for emacs"
diff --git a/dev-lang/lua/lua-5.2.4-r2.ebuild b/dev-lang/lua/lua-5.2.4-r2.ebuild
index e9de80efdfb9..79355e284ced 100644
--- a/dev-lang/lua/lua-5.2.4-r2.ebuild
+++ b/dev-lang/lua/lua-5.2.4-r2.ebuild
@@ -21,7 +21,7 @@ IUSE="+deprecated readline static test test-complete"
RESTRICT="!test? ( test )"
RDEPEND="readline? ( sys-libs/readline:0= )
- app-eselect/eselect-lua
+ >=app-eselect/eselect-lua-3
!dev-lang/lua:0"
DEPEND="${RDEPEND}
sys-devel/libtool"
@@ -192,6 +192,8 @@ src_test() {
}
pkg_postinst() {
+ eselect lua set --if-unset "${PN}${SLOT}"
+
if has_version "app-editor/emacs"; then
if ! has_version "app-emacs/lua-mode"; then
einfo "Install app-emacs/lua-mode for lua support for emacs"
diff --git a/dev-lang/lua/lua-5.3.6-r1.ebuild b/dev-lang/lua/lua-5.3.6-r1.ebuild
index a65d701dcd53..f6968026e01c 100644
--- a/dev-lang/lua/lua-5.3.6-r1.ebuild
+++ b/dev-lang/lua/lua-5.3.6-r1.ebuild
@@ -21,7 +21,7 @@ IUSE="+deprecated readline static test test-complete"
RESTRICT="!test? ( test )"
RDEPEND="readline? ( sys-libs/readline:0= )
- app-eselect/eselect-lua
+ >=app-eselect/eselect-lua-3
!dev-lang/lua:0"
DEPEND="${RDEPEND}
sys-devel/libtool"
@@ -192,6 +192,8 @@ src_test() {
}
pkg_postinst() {
+ eselect lua set --if-unset "${PN}${SLOT}"
+
if has_version "app-editor/emacs"; then
if ! has_version "app-emacs/lua-mode"; then
einfo "Install app-emacs/lua-mode for lua support for emacs"
diff --git a/dev-lang/lua/lua-5.4.1-r1.ebuild b/dev-lang/lua/lua-5.4.1-r1.ebuild
index 898ba67e1e45..e21e767c10b0 100644
--- a/dev-lang/lua/lua-5.4.1-r1.ebuild
+++ b/dev-lang/lua/lua-5.4.1-r1.ebuild
@@ -18,7 +18,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~
IUSE="+deprecated readline static test test-complete"
COMMON_DEPEND="
- app-eselect/eselect-lua
+ >=app-eselect/eselect-lua-3
readline? ( sys-libs/readline:0= )
!dev-lang/lua:0"
DEPEND="${COMMON_DEPEND}"
@@ -189,6 +189,8 @@ src_test() {
}
pkg_postinst() {
+ eselect lua set --if-unset "${PN}${SLOT}"
+
if has_version "app-editor/emacs"; then
if ! has_version "app-emacs/lua-mode"; then
einfo "Install app-emacs/lua-mode for lua support for emacs"