Page MenuHomeFreeBSD

Mk/bsd.port.mk: Introduce generic WITH_<FEATURE>_PORTS knob.
ClosedPublic

Authored by arrowd on Jan 8 2024, 6:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 21, 5:22 AM
Unknown Object (File)
Fri, Nov 21, 5:18 AM
Unknown Object (File)
Fri, Nov 21, 5:17 AM
Unknown Object (File)
Fri, Nov 21, 5:12 AM
Unknown Object (File)
Wed, Nov 19, 12:46 PM
Unknown Object (File)
Wed, Nov 19, 11:19 AM
Unknown Object (File)
Wed, Nov 19, 9:41 AM
Unknown Object (File)
Wed, Nov 19, 9:41 AM
Subscribers

Details

Summary

This allows enabling any feature supported by Ports Framework for a selected
ports. It was only possible to do WITH_DEBUG_PORTS.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arrowd requested review of this revision.Jan 8 2024, 6:42 PM
arrowd created this revision.
  • Error out if WITH_FEATURE_PORTS and WITHOUT_FEATURE_PORTS contain the same item.
  • For enabled-by-default features look for WITH_FEATURE_PORTS and the other way around for disabled ones.
bapt added a subscriber: bapt.
bapt added inline comments.
Mk/bsd.port.mk
1329

I still think this block is not usefull but up to you

This revision is now accepted and ready to land.Jan 11 2024, 8:00 AM
This revision was automatically updated to reflect the committed changes.
arrowd marked an inline comment as done.