summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Skala <mskala@gmx.com>2022-02-11 22:55:24 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-02-15 02:24:43 +0100
commit345c4a8dbecdd92de53c97eb155cd59069d09e99 (patch)
tree52ba69403b2fa446b0aae23c15485da4002c622e
parentsys-apps/man-db: remove unused patch (diff)
downloadgentoo-345c4a8dbecdd92de53c97eb155cd59069d09e99.tar.gz
gentoo-345c4a8dbecdd92de53c97eb155cd59069d09e99.tar.bz2
gentoo-345c4a8dbecdd92de53c97eb155cd59069d09e99.zip
dev-lua/lpeg: cross-compiling fix
Closes: https://github.com/gentoo/gentoo/pull/24166 Signed-off-by: Matija Skala <mskala@gmx.com> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r--dev-lua/lpeg/lpeg-1.0.2-r101.ebuild2
1 files changed, 1 insertions, 1 deletions
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() {