From 2d2ab59b783760f8ac0dc867833accb75971fb9d Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 28 Feb 2024 15:46:57 -0500 Subject: [PATCH] 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 --- 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 e724b86a46b8e..0d3dc279196c8 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 }