commit:     7a947b7e443647d8ab5aca6c0d05064fe519674c
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 29 15:26:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 29 18:45:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a947b7e

dev-lang/lua: make sure elibtoolize is applied

Needed to e.g. pass LTO warning flags through to the linker.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/lua/lua-5.1.5-r200.ebuild | 5 +++--
 dev-lang/lua/lua-5.3.6-r102.ebuild | 5 +++--
 dev-lang/lua/lua-5.4.6.ebuild      | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/dev-lang/lua/lua-5.1.5-r200.ebuild 
b/dev-lang/lua/lua-5.1.5-r200.ebuild
index 56b7cc7dbb99..7041b3869d45 100644
--- a/dev-lang/lua/lua-5.1.5-r200.ebuild
+++ b/dev-lang/lua/lua-5.1.5-r200.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit optfeature
+inherit libtool optfeature
 
 DESCRIPTION="A powerful light-weight programming language designed for 
extending applications"
 HOMEPAGE="https://www.lua.org/";
@@ -29,6 +29,7 @@ src_prepare() {
                "${FILESDIR}"/${PN}-5.1.4-test.patch
        )
        default
+       elibtoolize
 }
 
 src_configure() {

diff --git a/dev-lang/lua/lua-5.3.6-r102.ebuild 
b/dev-lang/lua/lua-5.3.6-r102.ebuild
index 723277fb487a..db6f23a4a9ac 100644
--- a/dev-lang/lua/lua-5.3.6-r102.ebuild
+++ b/dev-lang/lua/lua-5.3.6-r102.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit flag-o-matic optfeature
+inherit flag-o-matic libtool optfeature
 
 DESCRIPTION="A powerful light-weight programming language designed for 
extending applications"
 HOMEPAGE="https://www.lua.org/";
@@ -24,6 +24,7 @@ BDEPEND="virtual/pkgconfig"
 
 src_prepare() {
        default
+       elibtoolize
 
        if use elibc_musl; then
                # locales on musl are non-functional (#834153)

diff --git a/dev-lang/lua/lua-5.4.6.ebuild b/dev-lang/lua/lua-5.4.6.ebuild
index b880a4d62f6b..9ec3e85313e3 100644
--- a/dev-lang/lua/lua-5.4.6.ebuild
+++ b/dev-lang/lua/lua-5.4.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit flag-o-matic optfeature
+inherit flag-o-matic libtool optfeature
 
 DESCRIPTION="A powerful light-weight programming language designed for 
extending applications"
 HOMEPAGE="https://www.lua.org/";
@@ -29,6 +29,7 @@ PATCHES=(
 
 src_prepare() {
        default
+       elibtoolize
 
        if use elibc_musl; then
                # locales on musl are non-functional (#834153)

Reply via email to