[Midnightbsd-cvs] [MidnightBSD/mports] 09aa5a: Mk/bsd.mport.mk: keep compound dependency requirem...

Lucas Holt noreply at github.com
Fri Oct 9 10:15:18 EDT 2026


  Branch: refs/heads/depend-version-compound
  Home:   https://github.com/MidnightBSD/mports
  Commit: 09aa5aca7fe6a61eacebd2d5eb33cc7918ffeb85
      https://github.com/MidnightBSD/mports/commit/09aa5aca7fe6a61eacebd2d5eb33cc7918ffeb85
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-10-09 (Fri, 09 Oct 2026)

  Changed paths:
    M Mk/bsd.mport.mk

  Log Message:
  -----------
  Mk/bsd.mport.mk: keep compound dependency requirements on 4.1+

PACKAGE-DEPENDS-LIST reduced a dependency's version requirement with
sed 's/^.*([<>])/\1/', whose greedy match keeps only the last bound, so
foo>=1.0<4.0:devel/foo was recorded as "<4.0".  mport on MidnightBSD
4.1 and later evaluates compound requirements (mport PR #244), so on
OSVERSION >= 401000 strip only the package name and pass the whole
requirement to mport.create.  Older releases keep the previous
behaviour so their mport does not see a form it cannot parse.

Single-bound requirements such as ">=1.8.2" are emitted unchanged on
both sides of the gate.

AI-Assisted-By: Claude Fable 5.1
Co-Authored-By: Claude Fable 5.1 <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list