On Fri, May 17, 2019 at 01:45:00PM +0100, Stuart Henderson wrote:
> On 2019/05/16 12:01, Andrew Hewus Fresh wrote:
> > I'm also not sure if there's a way to tell python.port.mk to use the
> > pthon3 FLAVOR (if it exists) when doing update-plist automatically, but
> > that would be more helpful than the special case in portgen.
> 
> it *definitely* should not do that.

What you could do is warn.

Something like

.if make(plist) || make(update-plist)
.  if ${FLAVORS:Mpython3} && !${FLAVOR:Mpython3}
ERRORS += "Warning: update-plist without FLAVOR=python3"
.  endif
.endif

Reply via email to