Page MenuHomeFreeBSD

Mk/bsd.port.mk: Add FLAVOR_SUB
ClosedPublic

Authored by bapt on Oct 14 2021, 2:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 21, 9:51 AM
Unknown Object (File)
Tue, Jul 21, 1:49 AM
Unknown Object (File)
Sun, Jul 19, 3:54 PM
Unknown Object (File)
Sun, Jul 19, 12:56 PM
Unknown Object (File)
Sun, Jul 19, 10:57 AM
Unknown Object (File)
Sat, Jul 4, 4:28 AM
Unknown Object (File)
Fri, Jul 3, 3:30 AM
Unknown Object (File)
Jun 21 2026, 5:17 PM
Subscribers

Details

Summary

If defined, for each flavors it will create for the non active one:
PLIST_SUB= FLAVORNAME="@comment " NO_FLAVOUNAME=""
and for the active one:
PLIST_SUB= FLAVORNAME="" NO_FLAVOUNAME="@comment "

Same for SUB_LIST

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 42137
Build 39025: arc lint + arc unit

Event Timeline

bapt requested review of this revision.Oct 14 2021, 2:40 PM
manu added a subscriber: manu.

Using a standalone version in a few ports locally (https://github.com/evadot/freebsd-ports/blob/wipbsd/graphics/gpu-firmware-kmod-amd/Makefile) works perfectly.

This revision is now accepted and ready to land.Oct 14 2021, 8:57 PM

Please do document it in the porter's handbook.

This revision was automatically updated to reflect the committed changes.