Perhaps stick the actual linking down here:
    if use symlink-usr; then
        for libdir in ${libdirs} ; do
            ln -s usr/${libdir} ${ROOT}/${libdir}
        done
    fi