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)
Oct 23 2024, 2:48 PM
Unknown Object (File)
Oct 2 2024, 6:00 PM
Unknown Object (File)
Sep 21 2024, 10:03 AM
Unknown Object (File)
Sep 5 2024, 8:25 PM
Unknown Object (File)
Aug 20 2024, 7:51 PM
Unknown Object (File)
Aug 9 2024, 2:18 PM
Unknown Object (File)
Aug 2 2024, 12:50 AM
Unknown Object (File)
Jul 29 2024, 3:00 AM
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
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.