*/*: Fix some ports conversion from USE_RUBY to USES=ruby

In my previous commit 18c6e18 I missed some ports where RUBY was
optional. This commit fixes those missing ports and fixes INDEX build.

Approved by:	portmgr
Fixes: 18c6e18 Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
This commit is contained in:
Muhammad Moinur Rahman 2023-01-14 20:42:03 -06:00
parent 6ef6944084
commit 2d00178fd4
9 changed files with 9 additions and 10 deletions

View File

@ -48,7 +48,7 @@ TLS_USES= ssl
TLS_MAKE_ENV= BUILD_TLS=yes
TRIB_CATEGORIES= ruby
TRIB_RUN_DEPENDS= rubygem-redis>=2.2:databases/rubygem-redis
TRIB_USE= RUBY=yes
TRIB_USES= ruby
.include <bsd.port.pre.mk>

View File

@ -67,7 +67,7 @@ PYTHON_USES= python
PYTHON_USE= PYTHON=flavors,optsuffix
PYTHON_CONFIGURE_ENABLE= python
PYTHON_PORTEXAMPLES= stripes.py
RUBY_USE= RUBY=yes
RUBY_USES= ruby
RUBY_CONFIGURE_ENABLE= ruby
post-extract:

View File

@ -139,7 +139,7 @@ PYTHON_CONFIGURE_ENABLE= python3interp
PYTHON_CONFIGURE_WITH= python3-command=${PYTHON_CMD}
RUBY_CONFIGURE_ENABLE= rubyinterp
RUBY_USE= RUBY=yes
RUBY_USES= ruby
SCHEME_DESC= MzScheme (Racket) bindings
SCHEME_CONFIGURE_ENABLE=mzschemeinterp

View File

@ -96,7 +96,7 @@ PERL_USES= perl5
PHP_USES= php:build gnome
PHP_USE= GNOME=libxml2
PYTHON_USES= python:build
RUBY_USE= RUBY=yes
RUBY_USES= ruby
LUA_USES= lua
TK_USES= tk:build
GO_USES= go:no_targets

View File

@ -46,7 +46,7 @@ OPTIONS_DEFAULT=CURL RUBY UPNP GEOIP
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
CURL_CONFIGURE_ON= -curl
RUBY_USE= RUBY=yes
RUBY_USES= ruby
RUBY_LIB_DEPENDS= libruby${RUBY_SHLIBVER}.so:${RUBY_PORT}
RUBY_CONFIGURE_ON= -ruby
UPNP_LIB_DEPENDS= libminiupnpc.so:net/miniupnpc

View File

@ -33,7 +33,7 @@ MYSQL_USES= mysql
MYSQL_CONFIGURE_WITH= mysql
RUBY_DESC= Enable Ruby module
RUBY_BROKEN= Does not build
RUBY_USE= RUBY=yes
RUBY_USES= ruby
RUBY_CONFIGURE_OFF= --with-ruby=no
RUBY_BUILD_DEPENDS= rubygem-glib2>0:devel/rubygem-glib2
RUBY_RUN_DEPENDS= rubygem-glib2>0:devel/rubygem-glib2
@ -47,7 +47,7 @@ UNIHAN_EXTRACT_DEPENDS= ${UNZIP_CMD}:archivers/unzip
UNIHAN_BUILD_DEPENDS= \
${RUBY_SITEARCHLIBDIR}/uconv.so:japanese/ruby-uconv \
${RUBY_SITELIBDIR}/suikyo/suikyo.rb:japanese/suikyo
UNIHAN_USE= RUBY=yes
UNIHAN_USES= ruby
UNIHAN_CONFIGURE_ENABLE=unihan
post-extract-UNIHAN-on:

View File

@ -76,7 +76,6 @@ WEBKIT_LIB_DEPENDS= libicui18n.so:devel/icu
WEBKIT_USES= bison gmake gperf perl5 python:3.5+,build ruby:build
WEBKIT_USE= GNOME=libxslt,libxml2 \
PERL5=build \
RUBY=yes \
XORG=xcomposite,xdamage,xfixes,xrender,xt
WEBKIT_VARS= COMPILE_WEBKIT=true

View File

@ -40,7 +40,7 @@ OPTIONS_SUB= yes
ESPEAK_LIB_DEPENDS= libespeak-ng.so:audio/espeak-ng
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
MANPAGES_USE= RUBY=yes
MANPAGES_USES= ruby
MANPAGES_VARS= RUBY_NO_RUN_DEPENDS=yes
LUAJIT_DESC= Use LuaJIT instead of standard Lua

View File

@ -29,6 +29,6 @@ PHP_USES= php:build
PYTHON_CONFIGURE_WITH= python python-libext=${PYTHON_EXT_SUFFIX}.so
PYTHON_USES= python
RUBY_CONFIGURE_WITH= ruby
RUBY_USE= RUBY=yes
RUBY_USES= ruby
.include <bsd.port.mk>