Bug 259244 - ports-mgmt/portlint: warns about RUN_DEPENDS=gcc${GCC_DEFAULT:S/.//}:lang/gcc${GCC_DEFAULT:S/.//}
Summary: ports-mgmt/portlint: warns about RUN_DEPENDS=gcc${GCC_DEFAULT:S/.//}:lang/gcc...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-18 08:51 UTC by Gerald Pfeifer
Modified: 2022-01-08 04:33 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (marcus)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer freebsd_committer freebsd_triage 2021-10-18 08:51:58 UTC
This is a bit unusual, but legitimate way to define RUN_DEPENDS and
probably just requires a regexp to be expanded a little?

This is for lang/gcc and I don't know how to nicely tweak that to 
avoid this waring.

(In a way it may be the bigger sibling of bug #202052 from a while ago.)
Comment 1 Joe Marcus Clarke freebsd_committer freebsd_triage 2021-11-13 18:23:00 UTC
Fixed in 2.19.9.
Comment 2 Derek Schrock 2022-01-08 04:33:26 UTC
This update generates an incorrect warning for all ports that have python depends and flavors.

The g removes ${PY_FLAVOR} that is checked later.