[MacPorts] #65329: ruby-build @20220426: Improper dependency specification

MacPorts noreply at macports.org
Sat Jun 11 18:51:46 UTC 2022


#65329: ruby-build @20220426: Improper dependency specification
-------------------------+----------------------
  Reporter:  halostatue  |      Owner:  mojca
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:
      Port:  ruby-build  |
-------------------------+----------------------

Comment (by halostatue):

 {{{#!diff
 diff --git i/ruby/ruby-build/Portfile w/ruby/ruby-build/Portfile
 index 202cd7948cba..448d5801dc9f 100644
 --- i/ruby/ruby-build/Portfile
 +++ w/ruby/ruby-build/Portfile
 @@ -24,3 +24,7 @@ destroot.cmd        ./install.sh
  destroot.env        PREFIX=${destroot}${prefix}

  depends_lib         port:rbenv
 +
 +variant standalone description {Installs ruby-build without also
 installing rbenv} {
 +    depends_lib-delete port:rbenv
 +}
 }}}

 This could also be done as a variant, `sudo port install ruby-build
 +standalone`. IMO, if this were just being added to MacPorts now, this
 would be the opposite way (such that `rbenv` has a variant `+build` or
 `+install` that adds `ruby-build` as a dependency to power the `rbenv
 install` plug-in).

-- 
Ticket URL: <https://trac.macports.org/ticket/65329#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list