summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-12-03 15:24:51 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-12-03 15:25:04 +0900
commit4e3c3b492fd1e4d505e65485b8f500a7262add7d (patch)
treec637406e4fb883bfc6dab72451d70377cb981367 /dev-lua
parentdev-ruby/vcard: add 0.2.15 (diff)
downloadgentoo-4e3c3b492fd1e4d505e65485b8f500a7262add7d.tar.gz
gentoo-4e3c3b492fd1e4d505e65485b8f500a7262add7d.tar.bz2
gentoo-4e3c3b492fd1e4d505e65485b8f500a7262add7d.zip
dev-lua/LuaBitOp: support Prefix and depend on any slot of lua.
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild b/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild
index 996207a3f95d..067f55bf5fcd 100644
--- a/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild
+++ b/dev-lua/LuaBitOp/LuaBitOp-1.0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -14,7 +14,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm ~hppa ~mips ppc ppc64 sparc x86"
IUSE=""
-RDEPEND=">=dev-lang/lua-5.1.5-r2[${MULTILIB_USEDEP}]"
+RDEPEND=">=dev-lang/lua-5.1.5-r2:*[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
@@ -34,7 +34,8 @@ multilib_src_test() {
multilib_src_install()
{
- exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
+ local instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
+ exeinto "${instdir#${EPREFIX}}"
doexe bit.so
}