[Bug 244239] ports-mgmt/portlint: strange output for security/p5-IO-Socket-SSL

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 6 02:16:23 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244239

--- Comment #7 from Sergei Vyshenski <svysh.fbsd at gmail.com> ---
Marcus,

This time portlint becomes very tolerant to 
1) order of RUN_ and BUILD_ , and to 
2) "use then assign" for variables.

Point 2 is too common of practice in typical Makefile of port (consider include
of bsd.port.mk in the last section of Makefile), and moreover - inside typical
Mk/*.mk.

What do you think of demanding one of two reasonable approaches
(see 5.9.2. "RUN_DEPENDS" from Porter's Handbook),
each of which respects correct version of points 1) and 2) above:

(approach A) 
MY_DEPENDS=     ...explicit list...
BUILD_DEPENDS=  ${MY_DEPENDS}
RUN_DEPENDS=    ${MY_DEPENDS}

(approach B)
BUILD_DEPENDS=  ...explicit list for build...
RUN_DEPENDS=    ...explicit list for run...

As for Perl ports which you mention, maybe they could be promoted to a new
standards via automatic blanket commit?

Regards, Sergei

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list