CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2025/11/28 21:00:23

Modified files:
        usr.sbin/pkg_add/OpenBSD: PkgCreate.pm Subst.pm 

Log message:
Actually check that each @lib has its ${LIBname_VERSION}

pkg_create was skipping this check because it had "!$x =~ m/y/"
instead of "$x !~ m/y/".  The misplaced "!" warns in Perl 5.42.  When
afresh1 fixed the warning, it exposed other problems with the check.

Here, espie rewrites the check to allow @lib versions like
${LIBvala-${API_V}_VERSION} in lang/vala.  Substitute every variable
but the one we need, then ensure it matches what we want.

If you upgrade base but keep an old ports tree, then cad/qcad and
devel/libtalloc would fail to package; those 2 ports were fixed by
2025-11-21.

from Marc Espie <marc.espie.openbsd () gmail ! com>
bulk and ok jca@
ok afresh1@

Reply via email to