diff options
author | Sam James <sam@gentoo.org> | 2021-05-13 15:50:44 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-05-13 15:50:44 +0200 |
commit | 5243b6ad2d18bb8e7a139392b900852ff3fb1f7c (patch) | |
tree | e0e377cafcfd4e7aea7f6b1fe3e2ede4f123037c /www-servers | |
parent | sci-libs/superlu: add missing multilib inherit for get_libname (diff) | |
download | gentoo-5243b6ad2d18bb8e7a139392b900852ff3fb1f7c.tar.gz gentoo-5243b6ad2d18bb8e7a139392b900852ff3fb1f7c.tar.bz2 gentoo-5243b6ad2d18bb8e7a139392b900852ff3fb1f7c.zip |
www-servers/nginx: call pkg-config via toolchain-funcs.eclass helper
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/nginx/nginx-1.18.0-r2.ebuild | 5 |
1 files 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 |