summaryrefslogtreecommitdiff
path: root/lang/ruby30
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-01-14 17:05:28 -0600
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-01-14 17:08:33 -0600
commit18c6e18276691edf5274406bf82a3b06792ff9ae (patch)
tree23a66e6997d92422bec9960a22edc07e5386d547 /lang/ruby30
parentdevel/py-types-Pillow: update 9.4.0.1 → 9.4.0.2 (diff)
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk Notable changes are. - Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk. - USE_RUBY=yes is replaced with USES=ruby. - USE_RUBY_EXTCONF is replaced with USES=ruby:extconf. - USE_RUBY_RDOC is replaced with USES=ruby:rdoc. - USE_RUBY_SETUP is replaces with USES=ruby:setup. - RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with USES=ruby:{build,none,run}. - RUBY_REQUIRE isn't used anywhere, so removed. - USES=gem now implies USES=ruby. This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863 I have just made some cosmetic changes and ran exp-run to test that the tree is not in a BROKEN state. Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D37925
Diffstat (limited to 'lang/ruby30')
-rw-r--r--lang/ruby30/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/lang/ruby30/Makefile b/lang/ruby30/Makefile
index b4e564ce8bd8..1dddd85809bf 100644
--- a/lang/ruby30/Makefile
+++ b/lang/ruby30/Makefile
@@ -21,7 +21,7 @@ BUILD_DEPENDS= libffi>=0:devel/libffi
LIB_DEPENDS= libyaml.so:textproc/libyaml
RUN_DEPENDS= libffi>=0:devel/libffi
-USES= autoreconf cpe ssl tar:xz
+USES= autoreconf cpe ruby:none ssl tar:xz
CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \
--disable-rpath \
@@ -40,9 +40,6 @@ USE_LDCONFIG= yes
WRKSRC= ${RUBY_WRKSRC}
RUBY_VER= 3.0
-USE_RUBY= yes
-RUBY_NO_BUILD_DEPENDS= yes
-RUBY_NO_RUN_DEPENDS= yes
OPTIONS_DEFINE= CAPIDOCS DEBUG DOCS EXAMPLES GMP RDOC
OPTIONS_DEFAULT= RDOC LIBEDIT