Skip to content

FreeBSD: migrate to newer pkg_create(3) API

Adriaan de Groot requested to merge adridg/cmake:issue-18031 into master

The pkg_create_from_manifest() function was never really intended as stable API, and bapt@ has asked me to stop using it so the public API can be stabilized.

Port to pkg_create() with its attendant settings struct. Since we already have a complete manifest file, we can hand that (including the embedded plist) to pkg_create().

While here, reintroduce pkg_init(), which lived in downstream patches for a while and then went away again.

Fixes: #18031 (closed), #21848 (closed)
Topic-rename: cpack-freebsd-pkg

Edited by Adriaan de Groot

Merge request reports

Loading