VERIFYPC(1)

NAME
verifypc - sanity check package dependencies according to pkg-config

SYNOPSIS
verifypc

DESCRIPTION
verifypc is a tool that sanity checks the dependencies of a package based on the results of a successful build, assuming the package uses pkg-config(1) to detect its dependencies. It will warn you if the configuration script requests an uninstalled or unavailable package (not specified as a direct dependency) or if the requested package does not match the version specification in the packages' dependencies.

verifypc has to be run within a package directory after that package has been successfully built. Usually, a ‘make configure’ is enough, but it is recommended to run a full build to also catch calls to pkg-config(1) in the build phase.

In order to do its checks, verifypc relies on a log file generated by pkg-config(1); this log is stored inside the work directory and is automatically generated by pkgsrc assuming that your installed pkg-config(1) binary is newer than 0.19nb1. The tool will return an error if the log file does not exist.

RETURN VALUES
verifypc exits 0 if all dependencies are correctly satisfied by the package or 1 if there were any errors.

ENVIRONMENT
The following environment variables are honored:

MAKE
    Path to the make(1) utility used to parse package make files. Defaults to /usr/bin/make.

VERIFYPC_IGNORE
    White-space separated list of pkg-config package names that this tool will ignore if they were not found. Useful to shut up warnings for packages that are not yet in pkgsrc, such as X11 pkg-config files. Defaults to nothing.

SEE ALSO
pkg-config(1)

HISTORY
The verifypc utility first appeared in pkgsrc-2005Q4.

AUTHORS
Julio M. Merino Vidal <jmmv@NetBSD.org>