Date: Wed, 18 Mar 2015 22:18:47 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 198691] [ports-mgmt/portlint] Invalid '"RUN_DEPENDS" has to appear earlier' when within .if block Message-ID: <bug-198691-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198691 Bug ID: 198691 Summary: [ports-mgmt/portlint] Invalid '"RUN_DEPENDS" has to appear earlier' when within .if block 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 Flags: maintainer-feedback?(marcus@FreeBSD.org) Assignee: marcus@FreeBSD.org In one port I added DEPENDS inside .if block, like this: .if ${PORT_OPTIONS:MOPTION1} RUN_DEPENDS= xxx:${PORTSDIR}/xxx/xxx <...skipped...> .else <...skipped...> .endif Here is the warning from portlint: # portlint -A WARN: Makefile: "RUN_DEPENDS" has to appear earlier. However, RUN_DEPENDS can't be placed any earlier because of .if portlint should verify the order within the .if block, not within the whole Makefile. -- 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-198691-13>