PORT-RESOLVE-LIB-HELPER(1) - General Commands Manual #
PORT-RESOLVE-LIB-HELPER(1) - General Commands Manual
NAME #
port-resolve-lib-helper - resolve library specs during ports build
SYNOPSIS #
port-resolve-lib-helper [-needed] [-silent] specĀ …
DESCRIPTION #
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 library-specs(7) conventions.
In particular,
X11BASE
and
LOCALBASE
are used to locate X11 libraries and port libraries.
port-resolve-lib-helper will print the best libraries found in a format suitable for @wantlib (see pkg_create(1)) .
Each spec not found will result in an error message and exit code.
If the option -silent is used, nothing will be displayed.
The option
-needed
is used to sort out
LIB_DEPENDS
:
port-resolve-lib-helper
will succeed if at least one of the libraries matches against a shared
library passed on the command line.
This is a helper script used by bsd.port.mk(5) to complete all wantlib information for pkg_create(1) and other tools.
OpenBSD 7.5 - July 9, 2018