No it's not intelligent; it's a program. And it does exactly what you tell it to do.
Either you explicitly set the
PACKAGESITE variable to point to that directory or you implicitly let it default to it.
The fact is the
/All directory contains all the packages in the
name-ver.s.i.o_n.tbz format while the
/Latest directory contains symlinks to the
/All directory in the
name.tbz format.
So you need to set
PACKAGESITE to point to the second one instead.
References:
pkg_add(1)
http://www.freebsd.org/doc/en_US.ISO...ges-using.html