Bug 252298 - Mk/bsd.ruby.mk: Switch from 'USE_RUBY=yes' to 'USES=ruby'
Summary: Mk/bsd.ruby.mk: Switch from 'USE_RUBY=yes' to 'USES=ruby'
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL: https://reviews.freebsd.org/D27863
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-31 07:56 UTC by Yasuhiro Kimura
Modified: 2021-01-04 02:36 UTC (History)
1 user (show)

See Also:
yasu: exp-run?


Attachments
Patch file for exp-run (904.40 KB, patch)
2020-12-31 07:56 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura 2020-12-31 07:56:05 UTC
Created attachment 221119 [details]
Patch file for exp-run

Switch from 'USE_RUBY=yes' to 'USES=ruby'.
    
Notable changes are.
    
* Mk/bsd.ruby.mk is move 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'.
    
Note:
Exp-run requires that all changes are included in one patch. So attached patch includes the move from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk. But when it is committed it should be done with `svn move Mk/bsd.ruby.mk Mk/Uses/ruby.mk`. So I'll update patch after original one has passed exp-run.
Comment 1 Antoine Brodin freebsd_committer 2020-12-31 08:03:18 UTC
(In reply to Yasuhiro Kimura from comment #0)
Can you open a review on reviews.freebsd.org for this?
Comment 2 Yasuhiro Kimura 2020-12-31 08:25:56 UTC
(In reply to Antoine Brodin from comment #1)

Done.

https://reviews.freebsd.org/D27863