Bug 270593 - ports-mgmt/portlint: Reports wrong line number in warning
Summary: ports-mgmt/portlint: Reports wrong line number in warning
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-02 06:05 UTC by Yuri Victorovich
Modified: 2023-07-29 06:19 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (marcus)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.