From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50421158003 for ; Thu, 4 Nov 2021 20:59:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91DD0E0871; Thu, 4 Nov 2021 20:59:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 314B2E0871 for ; Thu, 4 Nov 2021 20:59:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A986D342B7A for ; Thu, 4 Nov 2021 20:59:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6100483 for ; Thu, 4 Nov 2021 20:59:15 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1636059534.0cb02ba655c0c415dd05ca5b0c93ee13174e709d.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luadbi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/luadbi/luadbi-0.7.2-r102.ebuild dev-lua/luadbi/luadbi-0.7.2-r103.ebuild X-VCS-Directories: dev-lua/luadbi/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 0cb02ba655c0c415dd05ca5b0c93ee13174e709d X-VCS-Branch: master Date: Thu, 4 Nov 2021 20:59:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 405252c2-6ed8-45be-a780-a355413d2328 X-Archives-Hash: a74c23670f9739f5bfeb7102566449ad commit: 0cb02ba655c0c415dd05ca5b0c93ee13174e709d Author: Conrad Kostecki gentoo org> AuthorDate: Thu Nov 4 20:58:25 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Thu Nov 4 20:58:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb02ba6 dev-lua/luadbi: fix runtime Closes: https://bugs.gentoo.org/820431 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> .../{luadbi-0.7.2-r102.ebuild => luadbi-0.7.2-r103.ebuild} | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dev-lua/luadbi/luadbi-0.7.2-r102.ebuild b/dev-lua/luadbi/luadbi-0.7.2-r103.ebuild similarity index 93% rename from dev-lua/luadbi/luadbi-0.7.2-r102.ebuild rename to dev-lua/luadbi/luadbi-0.7.2-r103.ebuild index a10d25b72e0..0f05380ff39 100644 --- a/dev-lua/luadbi/luadbi-0.7.2-r102.ebuild +++ b/dev-lua/luadbi/luadbi-0.7.2-r103.ebuild @@ -45,9 +45,13 @@ src_prepare() { # Respect users CFLAGS sed -e 's/-g //' -e 's/-O2 //g' -i Makefile || die + + lua_copy_sources } lua_src_compile() { + pushd "${BUILD_DIR}" || die + tc-export AR CC local myemakeargs=( @@ -57,6 +61,8 @@ lua_src_compile() { use mysql && emake ${myemakeargs} MYSQL_INC="-I$(mariadb_config --libs)" mysql use postgres && emake ${myemakeargs} PSQL_INC="-I$(pg_config --libdir)" psql use sqlite emake ${myemakeargs} SQLITE3_INC="-I/usr/include" sqlite + + die } src_compile() { @@ -64,7 +70,9 @@ src_compile() { } lua_src_test() { + pushd "${BUILD_DIR}" || die cd "${S}"/tests && ${ELUA} run_tests.lua || die + die } src_test() { @@ -72,6 +80,8 @@ src_test() { } lua_src_install() { + pushd "${BUILD_DIR}" || die + local myemakeargs=( DESTDIR="${ED}" LUA_CDIR="$(lua_get_cmod_dir)" @@ -82,6 +92,8 @@ lua_src_install() { use mysql && emake ${myemakeargs[@]} install_mysql use postgres && emake ${myemakeargs[@]} install_psql use sqlite && emake ${myemakeargs[@]} install_sqlite3 + + die } src_install() {