commit: a61ff1fee5ddc859a2410569868b9eb2ce6c2220 Author: Zurab Kvachadze <zurabid2016 <AT> gmail <DOT> com> AuthorDate: Tue Nov 4 03:33:47 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Nov 13 12:33:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61ff1fe
www-nginx/*: Convert manual append_libs to ngx_mod_link_lib Signed-off-by: Zurab Kvachadze <zurabid2016 <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44576 Signed-off-by: Sam James <sam <AT> gentoo.org> www-nginx/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 46f9826baace..2a00c0f65cb4 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 5c39add54e1c..bda1fc8ee3db 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 }
