commit:     345c4a8dbecdd92de53c97eb155cd59069d09e99
Author:     Matija Skala <mskala <AT> gmx <DOT> com>
AuthorDate: Fri Feb 11 21:55:24 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 01:24:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=345c4a8d

dev-lua/lpeg: cross-compiling fix

Closes: https://github.com/gentoo/gentoo/pull/24166
Signed-off-by: Matija Skala <mskala <AT> gmx.com>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/lpeg/lpeg-1.0.2-r101.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/lpeg/lpeg-1.0.2-r101.ebuild 
b/dev-lua/lpeg/lpeg-1.0.2-r101.ebuild
index 08b5a63d3bf1..411d41357574 100644
--- a/dev-lua/lpeg/lpeg-1.0.2-r101.ebuild
+++ b/dev-lua/lpeg/lpeg-1.0.2-r101.ebuild
@@ -50,7 +50,7 @@ src_prepare() {
 lua_src_compile() {
        cd "${S}.${ELUA}/" || die
        emake CC="$(tc-getCC)" \
-               LUADIR="${EPREFIX}/$(lua_get_include_dir)"
+               LUADIR="${ESYSROOT}/$(lua_get_include_dir)"
 }
 
 src_compile() {

Reply via email to