[MacPorts] #61426: port -D flag does not seem to do what it says it does

MacPorts noreply at macports.org
Tue Nov 10 12:15:18 UTC 2020


#61426: port -D flag does not seem to do what it says it does
---------------------+--------------------
  Reporter:  rnkn    |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.6.3
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Comment (by ryandesign):

 I must admit I was not aware of the `-D` flag, but it seems to work for
 me, if I'm understanding how it's meant to be used. For example, this
 works:

 {{{
 $ port -D zlib info --name --version
 name: zlib
 version: 1.2.11
 }}}

 I also tried editing a portfile in a non-default port tree and then
 running `port -D ./ info` while in that directory and it reflected my
 edits.

 Can you show a specific command that is not working for you?

 Usually when you are editing a portfile and you want to use that portfile,
 you just use the port command without specifying a port name, e.g. just
 run `port info` or `sudo port install` while in that directory.

 The sync command doesn't accept a port name.

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


More information about the macports-tickets mailing list