From 5243b6ad2d18bb8e7a139392b900852ff3fb1f7c Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 13 May 2021 15:50:44 +0200 Subject: www-servers/nginx: call pkg-config via toolchain-funcs.eclass helper Signed-off-by: Sam James Signed-off-by: David Seifert --- www-servers/nginx/nginx-1.18.0-r2.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www-servers/nginx/nginx-1.18.0-r2.ebuild b/www-servers/nginx/nginx-1.18.0-r2.ebuild index e96a7738bc69..c57e3bd041a9 100644 --- a/www-servers/nginx/nginx-1.18.0-r2.ebuild +++ b/www-servers/nginx/nginx-1.18.0-r2.ebuild @@ -325,6 +325,7 @@ RDEPEND="${CDEPEND} !www-servers/nginx:mainline" DEPEND="${CDEPEND} nginx_modules_http_brotli? ( virtual/pkgconfig ) + nginx_modules_http_lua? ( virtual/pkgconfig ) nginx_modules_http_security? ( ${AUTOTOOLS_DEPEND} ) arm? ( dev-libs/libatomic_ops ) libatomic? ( dev-libs/libatomic_ops )" @@ -507,8 +508,8 @@ src_configure() { if use nginx_modules_http_lua; then http_enabled=1 - export LUAJIT_LIB=$(pkg-config --variable libdir luajit) - export LUAJIT_INC=$(pkg-config --variable includedir luajit) + export LUAJIT_LIB=$($(tc-getPKG_CONFIG) --variable libdir luajit) + export LUAJIT_INC=$($(tc-getPKG_CONFIG) --variable includedir luajit) myconf+=( --add-module=${DEVEL_KIT_MODULE_WD} ) myconf+=( --add-module=${HTTP_LUA_MODULE_WD} ) fi -- cgit v1.2.3-65-gdbad