Date: Wed, 08 May 2019 01:40:58 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 237781] ports-mgmt/portlint: whines about IGNORE within .if blocks, even though the IGNORE works there Message-ID: <bug-237781-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237781 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@FreeBSD.org Reporter: ler@FreeBSD.org Flags: maintainer-feedback?(marcus@FreeBSD.org) Assignee: marcus@FreeBSD.org I ran portlint against the current sysutils/lsof Makefile, and portlint complains: =E2=8C=82115% [ler@borg.lerctr.org:/usr/ports/sysutils/lsof] $ portlint WARN: Makefile: "IGNORE" has to appear earlier. 0 fatal errors and 1 warning found. =E2=8C=82106% [ler@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). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237781-7788>