summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {