public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Vadim A. Misbakh-Soloviov" <mva@mva.name>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/lua:master commit in: dev-lua/luaposix/, dev-lua/luadbi/
Date: Wed, 11 Jan 2017 06:38:04 +0000 (UTC)	[thread overview]
Message-ID: <1484116674.0cbabfd3d129db6581bd2a5ef6ac2a18bc9c69cd.mva@gentoo> (raw)

commit:     0cbabfd3d129db6581bd2a5ef6ac2a18bc9c69cd
Author:     Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Wed Jan 11 06:37:54 2017 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Wed Jan 11 06:37:54 2017 +0000
URL:        https://gitweb.gentoo.org/proj/lua.git/commit/?id=0cbabfd3

luadbi, luaposix: fixes

 dev-lua/luadbi/luadbi-9999.ebuild     | 9 +++++++--
 dev-lua/luaposix/luaposix-9999.ebuild | 4 +++-
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/dev-lua/luadbi/luadbi-9999.ebuild b/dev-lua/luadbi/luadbi-9999.ebuild
index 3138211..2b54a2e 100644
--- a/dev-lua/luadbi/luadbi-9999.ebuild
+++ b/dev-lua/luadbi/luadbi-9999.ebuild
@@ -48,7 +48,7 @@ each_lua_compile() {
 
 	for driver in "${drivers[@]}"; do
 		local buildme;
-		if [[ ${driver} = "psql" && ${ABI} = "x86" ]]; then
+		if [[ ${driver} = "psql" && ${ABI} = "x86" ]] && use amd64; then
 			# FIXME: when postgres and perl (as postgres dep) will have multilib support
 			buildme=no
 		fi
@@ -65,5 +65,10 @@ each_lua_compile() {
 }
 
 each_lua_install() {
-	dolua *.so DBI.lua
+	local libs=();
+	for lib in $(find . -name '*.so'); do
+		libs+=(${lib})
+	done
+	[[ -z "${libs[@]}" ]] || dolua ${libs[@]}
+	dolua DBI.lua
 }

diff --git a/dev-lua/luaposix/luaposix-9999.ebuild b/dev-lua/luaposix/luaposix-9999.ebuild
index c1ea90a..f46b196 100644
--- a/dev-lua/luaposix/luaposix-9999.ebuild
+++ b/dev-lua/luaposix/luaposix-9999.ebuild
@@ -33,7 +33,7 @@ DEPEND="
 #	dev-lua/lyaml
 
 DOCS=(README.md NEWS.md)
-EXAMPLES=(examples/.)
+EXAMPLES=(doc/examples/.)
 HTML_DOCS=(html/.)
 
 all_lua_prepare() {
@@ -48,6 +48,8 @@ all_lua_prepare() {
 	sed -r \
 		-e "s/@PACKAGE_STRING@/${P}/" \
 		-i build-aux/config.ld lib/posix/init.lua
+
+	lua_default
 }
 
 all_lua_compile() {


                 reply	other threads:[~2017-01-11  6:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1484116674.0cbabfd3d129db6581bd2a5ef6ac2a18bc9c69cd.mva@gentoo \
    --to=mva@mva.name \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox