[MacPorts] #50262: octave port group: Remove orphaned paths

MacPorts noreply at macports.org
Fri Jan 8 13:04:27 PST 2016


#50262: octave port group: Remove orphaned paths
-----------------------------+--------------------------------
  Reporter:  mschamschula@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.4
Resolution:                  |   Keywords:
      Port:  octave          |
-----------------------------+--------------------------------

Comment (by mschamschula@…):

 I was hoping you knew…

 The octave port group is rather nebulous to me - starting with the fact
 the the build happens in the configure stage, and so on.

 That being said, this needs to happen in the post-deactivate stage. The
 main trick will be to figure out which directories need to be deleted and
 then sending the appropriate {{{system}}} call, i.e. something like
 {{{
 system "${prefix}/bin/octave-cli -q -f --eval
 'rmpath(\"/path/to/directory\")'"
 }}}
 My escapes may not be correct, i.e. untested, but you get the idea.

-- 
Ticket URL: <https://trac.macports.org/ticket/50262#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list