Date: Mon, 14 Aug 2017 06:24:56 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221507] ports-mgmt/portlint: Wrong warnings: Unused option when it is used in pkg-plist; Detects absolute path in the regexp Message-ID: <bug-221507-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221507 Bug ID: 221507 Summary: ports-mgmt/portlint: Wrong warnings: Unused option when it is used in pkg-plist; Detects absolute path in the regexp 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: yuri@rawbw.com Assignee: marcus@FreeBSD.org Flags: maintainer-feedback?(marcus@FreeBSD.org) Created attachment 185390 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185390&action= =3Dedit port (testcase) On the attached testcase portlint prints these two errors, both of which are wrong: > # portlint > WARN: Makefile: HIGHLIGHT is listed in OPTIONS_DEFINE, but no PORT_OPTION= S:MHIGHLIGHT appears. > WARN: Makefile: possible use of absolute pathname "/g}". When the port has OPTIONS_SUB=3Dyes and this option is in pkg-plist and in = the option helper target, these *are* the uses of the option. The second error problem is self-explanatory. --=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-221507-13>