Bug 270593

Summary: ports-mgmt/portlint: Reports wrong line number in warning
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Joe Marcus Clarke <marcus>
Status: Open ---    
Severity: Affects Only Me CC: pat
Priority: --- Flags: bugzilla: maintainer-feedback? (marcus)
Version: Latest   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer freebsd_triage 2023-04-02 06:05:19 UTC
Testcase: math/onednn

Warning:

> WARN: Makefile: [61]: use of != in assignments is almost never a good thing to do.  Try to avoid using them.  See http://lists.freebsd.org/pipermail/freebsd-ports/2008-July/049777.html for some helpful hints on what to do instead.

The correct line number is 63.
Comment 1 Joe Marcus Clarke freebsd_committer freebsd_triage 2023-04-15 17:53:10 UTC
Yeah, this is something I've noticed for a while when it comes to regexp matching.  It's not consistent, though.  It requires a much deeper investigation.