Created attachment 259374 [details] Patch to add a LIBB2 option The pkg 2.1.0 now checks for required shared libraries and refuses to install a package if some shared libraries are not present. Building an archivers/libarchive package on a system with libb2 present will use libb2, but not mark it as a port dependency. Attempting to install the package on a machine without libb2 then fails. The attached (trivial) patch adds a LIBB2 option to control building with or without libb2 support, and to have the correct package dependencies.
*** Bug 285945 has been marked as a duplicate of this bug. ***
^Triage: now that we have the Patch flag for attachments, the [patch] convention is no longer needed.
Created attachment 261153 [details] libarchive.patch ^Triage: rebase patch.