[Bug 252298] Mk/bsd.ruby.mk: Switch from 'USE_RUBY=yes' to 'USES=ruby'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 31 07:56:05 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252298

            Bug ID: 252298
           Summary: Mk/bsd.ruby.mk: Switch from 'USE_RUBY=yes' to
                    'USES=ruby'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: yasu at utahime.org

Created attachment 221119
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221119&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list