summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-12-02 11:33:04 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-12-02 11:33:28 +0900
commit63b961ed7a24ed28a3866edf3be78bdf50db6827 (patch)
treee455928d95e51ee9d2b36253afa1505ce26680e4 /dev-lua/lpeg
parentsys-libs/uclibc-ng: stable on amd64, arm, ppc and x86 (diff)
downloadgentoo-63b961ed7a24ed28a3866edf3be78bdf50db6827.tar.gz
gentoo-63b961ed7a24ed28a3866edf3be78bdf50db6827.tar.bz2
gentoo-63b961ed7a24ed28a3866edf3be78bdf50db6827.zip
dev-lua/lpeg: support Prefix.
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-lua/lpeg')
-rw-r--r--dev-lua/lpeg/lpeg-1.0.0-r1.ebuild7
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 059315adfeb..0d39949abd9 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