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

MacPorts noreply at macports.org
Tue Nov 10 07:58:10 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
 Keywords:          |       Port:
--------------------+--------------------
 Calling any subcommand from port -D does not seem to have the effect that
 its documentation suggests...

 **Documentation**

 > -D portdir|portname
 >
 > Specify a directory to which the port command should change to before
 processing any actions. If the specified value does not contain any
 slashes, the value is used to look up a port and the current working
 directory is set to the corresponding port directory.

 **Steps to reproduce**

 1. clone the macports-ports repo
 2. edit a Portfile
 3. call port -D ./ [info|install|sync|etc.] from edited Portfile directory
 4. call port -D <port> [info|install|sync|etc.] from edited Portfile
 directory for <port>

 **Expected results**

 MacPorts should use edited Portfile.

 **Actual results**

 MacPorts ignores edited Portfile.

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


More information about the macports-tickets mailing list