From a61ff1fee5ddc859a2410569868b9eb2ce6c2220 Mon Sep 17 00:00:00 2001 From: Zurab Kvachadze Date: Tue, 4 Nov 2025 04:33:47 +0100 Subject: [PATCH] www-nginx/*: Convert manual append_libs to ngx_mod_link_lib Signed-off-by: Zurab Kvachadze Part-of: https://github.com/gentoo/gentoo/pull/44576 Signed-off-by: Sam James --- .../ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild | 4 ++-- www-nginx/ngx-set-misc/ngx-set-misc-0.33.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild b/www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild index 46f9826baacea..2a00c0f65cb4f 100644 --- a/www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild +++ b/www-nginx/ngx-encrypted-session/ngx-encrypted-session-0.09.ebuild @@ -14,7 +14,7 @@ NGINX_MOD_TEST_LOAD_ORDER=( www-nginx/ngx-echo www-nginx/ngx-lua-module ) -inherit toolchain-funcs nginx-module +inherit nginx-module DESCRIPTION="An NGINX module that encrypts and decrypts NGINX variable values" HOMEPAGE="https://github.com/openresty/encrypted-session-nginx-module" @@ -33,7 +33,7 @@ RDEPEND="${DEPEND}" src_configure() { # Make sure the module links to libcrypto, independently of whether NGINX # has SSL/TLS support. - ngx_mod_append_libs "$("$(tc-getPKG_CONFIG)" --libs libcrypto)" + ngx_mod_link_lib libcrypto nginx-module_src_configure } diff --git a/www-nginx/ngx-set-misc/ngx-set-misc-0.33.ebuild b/www-nginx/ngx-set-misc/ngx-set-misc-0.33.ebuild index 5c39add54e1ce..bda1fc8ee3dbd 100644 --- a/www-nginx/ngx-set-misc/ngx-set-misc-0.33.ebuild +++ b/www-nginx/ngx-set-misc/ngx-set-misc-0.33.ebuild @@ -13,7 +13,7 @@ NGINX_MOD_TEST_LOAD_ORDER=( www-nginx/ngx-echo www-nginx/ngx-iconv ) -inherit toolchain-funcs nginx-module +inherit nginx-module DESCRIPTION="An NGINX module that adds various set_xxx directives to NGINX's rewrite module" HOMEPAGE="https://github.com/openresty/set-misc-nginx-module" @@ -41,7 +41,7 @@ src_configure() { local -x GENTOO_USE_HMAC=NO if use hmac; then GENTOO_USE_HMAC=YES - ngx_mod_append_libs "$("$(tc-getPKG_CONFIG)" --libs libcrypto)" + ngx_mod_link_lib libcrypto fi nginx-module_src_configure }