commit:     2d2ab59b783760f8ac0dc867833accb75971fb9d
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 28 20:46:57 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 16:47:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d2ab59b

dev-lua/mpack: Export PKG_CONFIG for src_compile

The Makefile does this:

> PKG_CONFIG ?= pkg-config

so we need to export PKG_CONFIG to use the correct pkg-config binary
when cross-compiling.

Closes: https://github.com/gentoo/gentoo/pull/35572
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-lua/mpack/mpack-1.0.12.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lua/mpack/mpack-1.0.12.ebuild 
b/dev-lua/mpack/mpack-1.0.12.ebuild
index e724b86a46b8..0d3dc279196c 100644
--- a/dev-lua/mpack/mpack-1.0.12.ebuild
+++ b/dev-lua/mpack/mpack-1.0.12.ebuild
@@ -58,6 +58,7 @@ lua_src_compile() {
 }
 
 src_compile() {
+       tc-export PKG_CONFIG
        lua_foreach_impl lua_src_compile
 }
 

Reply via email to