diff options
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/lpeg/lpeg-1.0.0-r1.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild b/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild index 059315adfeb2..0d39949abd99 100644 --- a/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild +++ b/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild @@ -39,9 +39,12 @@ src_test() { } src_install() { - exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" + local instdir + instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" + exeinto "${inst#${EPREFIX}}" doexe lpeg.so - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" + instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" + insinto "${inst#${EPREFIX}}" doins re.lua use doc && einstalldocs |