> On Nov 3, 2014, at 11:56 AM, Thomas Friedrichsmeier 
> <[email protected]> wrote:
> yes. Only it is what happened in the past. And now the files in question 
> are destrooted, and thus part of the image (as can also be seen in the 
> buildbot's log). And that's why port refuses to activate the image: Some 
> files 
> contained in it are already present at the target location (unregistered).
> 
> The question at hand is how to get rid of the files that have been installed 
> without being registered _previously_.

the subversion-javahlbindings port used to create a symlink directly in $prefix 
(by mistake), so it does this now:

pre-activate    {
                #- this port used to create a symlink directly in ${prefix} 
which was fixed in 1.8.1_1
                #- we need to remove this symlink from ${prefix} though, so 
upgrades work
                #- this can eventually be removed, origionally added 2013-07-25
                set badfile ${prefix}/lib/libsvnjavahl-1.jnilib
                if {[file exists ${badfile}] && [registry_file_registered 
${badfile}] == "0"} {
                        if {[catch {delete ${badfile}}]} {
                                ui_warn "Cannot delete ${badfile}; please 
remove it manually"
                        }
                }

                }

--
Daniel J. Luke                                                                  
 
+========================================================+                      
  
| *---------------- [email protected] ----------------* |                      
    
| *-------------- http://www.geeklair.net -------------* |                      
    
+========================================================+                      
  
|   Opinions expressed are mine and do not necessarily   |                      
    
|          reflect the opinions of my employer.          |                      
    
+========================================================+



_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to