[MacPorts] #53487: Request: `port provides <file>` should indicate whether or not it points to a macports port file

MacPorts noreply at macports.org
Sat Feb 4 08:04:00 UTC 2017


#53487: Request: `port provides <file>` should indicate whether or not it points to
a macports port file
------------------------------+-------------------
  Reporter:  paxperscientiam  |      Owner:
      Type:  enhancement      |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  base             |    Version:  2.4.0
Resolution:                   |   Keywords:
      Port:                   |
------------------------------+-------------------
Changes (by ryandesign):

 * cc: paxperscientiam (removed)


Comment:

 I disagree. MacPorts should not say that it provided any symlink that
 happens to point to a MacPorts-provided file, unless MacPorts actually
 provided that symlink.

 If that symlink is provided by a port, `port provides` should already give
 the correct answer.

 See #43996 for the request that symlinks created by `port select` should
 be recorded in the registry (and would thus respond correctly when queried
 with `port provides`). This may be what you're actually asking for, since
 there is a ruby_select port and your /opt/local/bin/ruby symlink might
 have been created using it.

 See #37853 for the request that files provided by MacPorts base be
 recognized by `port provides`.

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


More information about the macports-tickets mailing list