[Bug 237781] ports-mgmt/portlint: whines about IGNORE within .if blocks, even though the IGNORE works there
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 8 01:41:00 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237781
Bug ID: 237781
Summary: ports-mgmt/portlint: whines about IGNORE within .if
blocks, even though the IGNORE works there
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: marcus at FreeBSD.org
Reporter: ler at FreeBSD.org
Flags: maintainer-feedback?(marcus at FreeBSD.org)
Assignee: marcus at FreeBSD.org
I ran portlint against the current sysutils/lsof Makefile, and portlint
complains:
⌂115% [ler at borg.lerctr.org:/usr/ports/sysutils/lsof] $ portlint
WARN: Makefile: "IGNORE" has to appear earlier.
0 fatal errors and 1 warning found.
⌂106% [ler at borg.lerctr.org:/usr/ports/sysutils/lsof] $
No matter where I put the .if block, it complains. If I put it before the
.include <bsd.port.pre.mk>
line, the check fails in poudriere.
As far as I know, the IGNORE doesn't have to be moved for this case (I'm not
sure of the exact rules, but this warning is INCORRECT).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list