Page MenuHomeFreeBSD

Add flavor support to and make use in *-depends-list targets.

Authored by bdrewery on Dec 18 2017, 9:48 PM.


Group Reviewers

Add a -f option to Mk/Scripts/ to allow reporting of flavors attached to the port origins. This format is required for portmaster, to support dependency tracking after the intriduction of flavors.

Test Plan

Apply patches and verify, that output is unchanged to the previous version if -f is not specified, and that flavors are reported if -f is passed.
The change to supplies -f to obtain dependencies with flavors.

Diff Detail

rP FreeBSD ports repository
Lint Skipped
Unit Tests Skipped

Event Timeline

The portmaster version with flavor support contains a very simple dependency check, which es very different from the previous version, since the script cannot be used as is.

se edited the test plan for this revision. (Show Details)
se set the repository for this revision to rP FreeBSD ports repository.

Remove flavor part from origin. The flavor is passed via the FLAVOR environment variable.

bdrewery added a reviewer: se.
bdrewery added a subscriber: bdrewery.

I committed something like this in Pr459882. You can pass -DDEPENDS_SHOW_FLAVOR to make *-depends* to get the flavor output as well.