Page MenuHomeFreeBSD

packages: handle dependencies in ucl
ClosedPublic

Authored by ivy on May 10 2025, 3:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 11, 8:36 PM
Unknown Object (File)
Mon, May 11, 8:20 PM
Unknown Object (File)
Sun, May 3, 8:33 PM
Unknown Object (File)
Tue, Apr 28, 3:59 PM
Unknown Object (File)
Fri, Apr 24, 7:32 PM
Unknown Object (File)
Apr 21 2026, 5:45 AM
Unknown Object (File)
Apr 6 2026, 7:05 AM
Unknown Object (File)
Apr 5 2026, 7:48 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