commit:     295a950b0c90175ea9ab778b7984a46bb1fd7a46
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 28 22:34:23 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 28 22:34:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=295a950b

dev-lua/lpeg: avoid double ROOT

lua_get_include_dir already contains it.

Closes: https://bugs.gentoo.org/909348
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lua/lpeg/lpeg-1.0.2-r101.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lua/lpeg/lpeg-1.0.2-r101.ebuild 
b/dev-lua/lpeg/lpeg-1.0.2-r101.ebuild
index 411d41357574..cb9aa50746f3 100644
--- a/dev-lua/lpeg/lpeg-1.0.2-r101.ebuild
+++ b/dev-lua/lpeg/lpeg-1.0.2-r101.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -50,7 +50,7 @@ src_prepare() {
 lua_src_compile() {
        cd "${S}.${ELUA}/" || die
        emake CC="$(tc-getCC)" \
-               LUADIR="${ESYSROOT}/$(lua_get_include_dir)"
+               LUADIR="${EPREFIX}/$(lua_get_include_dir)"
 }
 
 src_compile() {

Reply via email to