This is
OpenBSD 4.8-current (GENERIC.MP) #0: Wed Nov 24 15:23:13 CET 2010
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
When looking for a package that contains a given file,
I am using the -E feature of pkg_info:
$ pkg_info -E /usr/local/lib/libschroedinger-1.0.so.2.0
/usr/local/lib/libschroedinger-1.0.so.2.0: schroedinger-1.0.10
schroedinger-1.0.10 high-speed Dirac codec
When used with just the basename (or, more generally, anything less than
the full path), pkg_info does not find it:
$ pkg_info -E libschroedinger-1.0.so.2.0 >
$ pkg_info -E lib/libschroedinger-1.0.so.2.0
Is this the intended behaviour?
Jan