move the interface to SharedLibs to be somewhat object oriented
authorespie <espie@openbsd.org>
Sun, 21 May 2023 16:07:35 +0000 (16:07 +0000)
committerespie <espie@openbsd.org>
Sun, 21 May 2023 16:07:35 +0000 (16:07 +0000)
commit08eb747c3d540f66742de71c271b41d54be1c74a
treef523505c649b4f8ccc85646f32231e93b14d3a53
parent4999ab8697aed65ca52a4aaf2d655439a90ae5ec
move the interface to SharedLibs to be somewhat object oriented

accordingly, load it "just in time" in State.

Most calls get simplified, and we can save more state for later.
usr.sbin/pkg_add/OpenBSD/Dependencies.pm
usr.sbin/pkg_add/OpenBSD/Dependencies/SolverBase.pm
usr.sbin/pkg_add/OpenBSD/OldLibs.pm
usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
usr.sbin/pkg_add/OpenBSD/PkgCreate.pm
usr.sbin/pkg_add/OpenBSD/SharedLibs.pm
usr.sbin/pkg_add/OpenBSD/State.pm