[Bug 263859] ports-mgmt/portlint: BROKEN_* "has to appear earlier." is incorrect when depending on USES

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 08 May 2022 06:34:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263859

            Bug ID: 263859
           Summary: ports-mgmt/portlint: BROKEN_* "has to appear earlier."
                    is incorrect when depending on USES
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://docs.freebsd.org/en/books/porters-handbook/ord
                    er/#porting-order-broken
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus@FreeBSD.org
          Reporter: dereks@lifeofadishwasher.com
             Flags: maintainer-feedback?(marcus@FreeBSD.org)
          Assignee: marcus@FreeBSD.org

Using www/node14's Makefile as an example portlint incorrect reports that
BROKEN_SSL should appear earlier (in the BROKEN/IGNORE/DEPRECATED messages -
current location of ONLY_FOR_ARCHS in this case).

According to 15.5 [1] BROKEN_* and IGNORE_* should appear in USES if the vars
apply to USES settings (ssl, php, etc...).

So in the case of www/node14 the BROKEN_SSL and BROKEN_SSL_REASON vars should
be in the USES block.

[1]
https://docs.freebsd.org/en/books/porters-handbook/order/#porting-order-broken

-- 
You are receiving this mail because:
You are the assignee for the bug.