After the changes to the "file delete" implementation, the installation of
ncurses fails because it tries to follow the target of a symbolic link.
By reversing the order of the arguments from
delete ${destroot}${prefix}/share ${destroot}${prefix}/lib/terminfo
into
delete ${destroot}${prefix}/lib/terminfo ${destroot}${prefix}/share
ncurses installs correctly (lib/terminfo is a symbolic link to ../share/terminfo).