[Bug 198691] [ports-mgmt/portlint] Invalid '"RUN_DEPENDS" has to appear earlier' when within .if block
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 18 22:18:48 UTC 2015
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 at FreeBSD.org
Reporter: yuri at rawbw.com
Flags: maintainer-feedback?(marcus at FreeBSD.org)
Assignee: marcus at 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.
More information about the freebsd-ports-bugs
mailing list