summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-06-03 00:00:18 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-06-03 00:06:45 +0200
commit061b4f7ababaf3fb237986b18726c5a73dfd194c (patch)
tree78f5c02dec7baf40225fa24bfed2e4aac4babfc2 /dev-lua
parentsys-apps/util-linux: fix build on powerpc (diff)
downloadgentoo-061b4f7ababaf3fb237986b18726c5a73dfd194c.tar.gz
gentoo-061b4f7ababaf3fb237986b18726c5a73dfd194c.tar.bz2
gentoo-061b4f7ababaf3fb237986b18726c5a73dfd194c.zip
dev-lua/mpack: fix double prefix
Closes: https://bugs.gentoo.org/793248 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/mpack/mpack-1.0.8-r100.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
index adbaa854e46b..b573bd2b996b 100644
--- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild
+++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild
@@ -85,9 +85,10 @@ src_test() {
lua_src_install() {
pushd "${BUILD_DIR}" || die
+ local installdir="$(lua_get_cmod_dir)"
local myemakeargs=(
"DESTDIR=${ED}"
- "LUA_CMOD_INSTALLDIR=$(lua_get_cmod_dir)"
+ "LUA_CMOD_INSTALLDIR=${installdir#$EPREFIX}"
"USE_SYSTEM_MPACK=yes"
"USE_SYSTEM_LUA=yes"
)