Created attachment 178491 [details] shar with a new port Pull out the modules a module explicitly uses: https://github.com/briandfoy/module-extract-use/tree/master - This port is needed as a new dependency for existing port devel/p5-Test-Prereq starting with coming ver 2.002. - "portlint -ACN" says: looks fine. - Tested (with and without buil-in perl tests) at 11.stable-amd64 with poudriere-3.1.14, perl-5.24.1, and openssl from base. To activate test from within poudriere, file Mk/Uses/perl5.mk was locally augmented with lines: .if defined(RUN_PERL_TESTS) BUILD_DEPENDS+= ${TEST_DEPENDS} pre-install: test .endif All tests say: PASS.
Created attachment 178493 [details] shar with a new port
A commit references this bug: Author: wen Date: Wed Jan 4 01:45:08 UTC 2017 New revision: 430527 URL: https://svnweb.freebsd.org/changeset/ports/430527 Log: Extract the names of the modules used in a file using a static analysis. Since this module does not run code, it cannot find dynamic uses of modules, such as eval "require $class". It only reports modules that the file loads directly. Modules loaded with parent or base, for instance, will will be in the import list for those pragmas but won't have separate entries in the data this module returns. WWW: http://github.com/briandfoy/module-extract-use/tree/master PR: 215745 Submitted by: svysh.fbsd@gmail.com Changes: head/devel/Makefile head/devel/p5-Module-Extract-Use/ head/devel/p5-Module-Extract-Use/Makefile head/devel/p5-Module-Extract-Use/distinfo head/devel/p5-Module-Extract-Use/pkg-descr head/devel/p5-Module-Extract-Use/pkg-plist