Skip to content

Commit

Permalink
dev-lua/lpeg: avoid double ROOT
Browse files Browse the repository at this point in the history
lua_get_include_dir already contains it.

Closes: https://bugs.gentoo.org/909348
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jun 28, 2023
1 parent 185b749 commit 295a950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-lua/lpeg/lpeg-1.0.2-r101.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 295a950

Please sign in to comment.