summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/lpeg/lpeg-1.0.2-r101.ebuild')
-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 0a8e84bf7e8..d911bbbf5ae 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="$(lua_get_include_dir)"
+ LUADIR="${EPREFIX}/$(lua_get_include_dir)"
}
src_compile() {