On 2010/04/18 14:38, Antti Harri wrote: > >It still makes more sense to just match 'filename', either directory or > >regular file, as currently (but incorrectly) stated in the man page. > >It's the path of least surprise. > > You can already do that with the help of pkg_mklocatedb(1). > > For a quick use of the resulting database I have: > alias pkg_find="locate -d /home/iku/ports.db"
See also ports/databases/pkglocatedb and the associated package if you don't want to build your own (or can't build your own because your ports tree is full of Ms and Cs...)
