Page MenuHomeFreeBSD

packages: handle dependencies in ucl
ClosedPublic

Authored by ivy on May 10 2025, 3:50 PM.
Tags
None
Referenced Files
F168155524: D50283.id158523.diff
Wed, Aug 26, 3:28 PM
Unknown Object (File)
Wed, Aug 26, 12:51 AM
Unknown Object (File)
Tue, Aug 25, 9:52 PM
Unknown Object (File)
Tue, Aug 25, 9:04 AM
Unknown Object (File)
Mon, Aug 24, 10:02 AM
Unknown Object (File)
Sat, Aug 22, 9:58 AM
Unknown Object (File)
Tue, Aug 18, 6:07 AM
Unknown Object (File)
Mon, Aug 17, 8:41 PM
Subscribers

Details

Summary

for packages with specific dependencies, add the dependencies in their
UCL files instead of listing them in generate-ucl.sh.

generate-ucl.sh has logic to add automatic subpackage dependencies, so
e.g. "FreeBSD-foo-dev" depends on "FreeBSD-foo". move this into
generate-ucl.lua instead.

this means we no longer need to pre-process the UCL in generate-ucl.sh,
and we can undo the hack where it calls generate-ucl.lua with the same
filename as both input and output file.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable