summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-08-03 08:22:21 +0200
committerHans de Graaff <graaff@gentoo.org>2019-08-03 08:24:14 +0200
commit2c8fe3dd4747bd3ad67f99d52e77f73dd87bf5da (patch)
tree6b75f71a853d6a99a1d7356cef8765840f987417 /www-servers/uwsgi/uwsgi-2.0.18.ebuild
parentdev-python/google-auth-oauthlib: Google Authentication Library (diff)
downloadgentoo-2c8fe3dd4747bd3ad67f99d52e77f73dd87bf5da.tar.gz
gentoo-2c8fe3dd4747bd3ad67f99d52e77f73dd87bf5da.tar.bz2
gentoo-2c8fe3dd4747bd3ad67f99d52e77f73dd87bf5da.zip
www-servers/uwsgi: avoid using obsolete ruby targets
Only use ruby targets that are still available, rather than those listed in USE_RUBY. Fixes: https://bugs.gentoo.org/687762 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'www-servers/uwsgi/uwsgi-2.0.18.ebuild')
-rw-r--r--www-servers/uwsgi/uwsgi-2.0.18.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/www-servers/uwsgi/uwsgi-2.0.18.ebuild b/www-servers/uwsgi/uwsgi-2.0.18.ebuild
index badd0a9e1c3c..918ff7c51ab4 100644
--- a/www-servers/uwsgi/uwsgi-2.0.18.ebuild
+++ b/www-servers/uwsgi/uwsgi-2.0.18.ebuild
@@ -390,12 +390,10 @@ pkg_postinst() {
use python && python_foreach_impl python_pkg_postinst
if use ruby ; then
- for ruby in $USE_RUBY; do
- if use ruby_targets_${ruby} ; then
- elog " '--plugins rack_${ruby/.}' for ${ruby}"
- elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers"
- elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads"
- fi
+ for ruby in $(ruby_get_use_implementations) ; do
+ elog " '--plugins rack_${ruby/.}' for ${ruby}"
+ elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers"
+ elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads"
done
fi
}