commit:     42c0965deb0ebf73cf1bbd24eef43c8b35aeb5bd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 23 22:51:11 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 24 13:55:56 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c0965d

www-servers/uwsgi: localise some vars

Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-servers/uwsgi/uwsgi-2.0.31.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www-servers/uwsgi/uwsgi-2.0.31.ebuild 
b/www-servers/uwsgi/uwsgi-2.0.31.ebuild
index f93b4f0c3365..fd597588da01 100644
--- a/www-servers/uwsgi/uwsgi-2.0.31.ebuild
+++ b/www-servers/uwsgi/uwsgi-2.0.31.ebuild
@@ -289,6 +289,7 @@ src_compile() {
        fi
 
        if use php ; then
+               local s
                for s in $(php_get_slots); do
                        UWSGICONFIG_PHPDIR="/usr/$(get_libdir)/${s}" ${EPYTHON} 
uwsgiconfig.py --plugin plugins/php gentoo ${s/.} || die "building plugin for 
${s} failed"
                done
@@ -350,6 +351,7 @@ pkg_postinst() {
        use perl   && elog "  '--plugins psgi' for perl"
 
        if use php ; then
+               local s
                for s in $(php_get_slots); do
                        elog "  '--plugins ${s/.}' for ${s}"
                done
@@ -369,6 +371,7 @@ pkg_postinst() {
        use python && python_foreach_impl python_pkg_postinst
 
        if use ruby ; then
+               local ruby
                for ruby in $(ruby_get_use_implementations) ; do
                        elog "  '--plugins rack_${ruby/.}' for ${ruby}"
                        elog "  '--plugins fiber_${ruby/.}' for ${ruby} fibers"

Reply via email to