resolve library specs during ports
port-resolve-lib-helper resolve library
specs against a list of installed libraries.
port-resolve-lib-helper takes a list of file names
with full path on stdin, and matches each library spec
against those libraries, using
LOCALBASE are used to locate X11 libraries and port
port-resolve-lib-helper will print the
best libraries found in a format suitable for
Each spec not found will result in an error message and exit code.
If the option
-silent is used, nothing
will be displayed.
-needed is used to sort out
port-resolve-lib-helper will succeed if at least one
of the libraries matches against a shared library passed on the command
This is a helper script used by bsd.port.mk(5) to complete all wantlib information for pkg_create(1) and other tools.