[MacPorts] #21082: MacPorts 1.8.0 deletes ${prefix} if it is a symlink

MacPorts noreply at macports.org
Fri Sep 4 09:12:54 PDT 2009


#21082: MacPorts 1.8.0 deletes ${prefix} if it is a symlink
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts 1.8.1                       
Component:  base                     |     Version:  1.8.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------

Comment(by devans@…):

 I have had the same problem on my system.  I was running out of disk space
 on my main disk so moved /opt/local to
 a second disk with a link link this
 {{{
 /opt/local  -> /Volumes/disk2/opt/local
 }}}

 Note that any symlink that appears in the 'directory' portion of a path
 that is being deactivated or uninstalled will be deleted.

 Attached is a patch that fixes the problem for me although someone who
 knows more about MacPorts could probably do it
 better.

-- 
Ticket URL: <http://trac.macports.org/ticket/21082#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list