FINDDEPENDS(1)

NAME
finddepends - find direct dependencies of a package

SYNOPSIS
finddepends [-h] [-p pkgsrcdir] pattern

DESCRIPTION
finddepends is a perl script for pkgsrc developers that helps finding packages affected by a recursive PKGREVISION bump. Given a pattern on the command line, it will recursively find all buildlink3.mk files that include it, and then find all Makefiles that include any of the buildlink3.mk files.

When reading Makefile.common, it will parse “# used by” lines and emit those packages too, so there might be duplicates in the output.

finddepends -h displays a short usage.

If -p is given, pkgsrcdir is used instead of the default /usr/pkgsrc.

See revbump(1) for an example of a complete recursive PKGREVISION bump.

ENVIRONMENT
PKGSRCDIR pkgsrc root directory. Defaults to /usr/pkgsrc.

EXAMPLES
    finddepends security/libtasn1

would first output all buildlink3.mk files that include security/libtasn1, and then all Makefiles and options.mk files that include any of the found buildlink3.mk files.

SEE ALSO
blbump(1), revbump(1)