Re: git: dafb3cafaf77 - main - editors/ghostwriter: Fix Makefile causing errors

From: Alexey Dokuchaev <danfe_at_freebsd.org>
Date: Mon, 16 Jan 2023 08:07:23 UTC
On Sun, Jan 15, 2023 at 11:30:33PM +0000, Guido Falsi wrote:
> commit dafb3cafaf774e89c3ebd1500ce56fba5665da02
> 
>   editors/ghostwriter: Fix Makefile causing errors
> 
>   Using FLAVOR?=${FLAVORS:[0]} confuses the ports make system.

:[0] returns the whole string (after expansion), word enumeration
starts with one.  I don't see where does confusion come from, just
use FLAVORS:[1] as documented in man make(1).  Ideally it can be
dropped altogether (default flavor is set by b.p.m.) but since this
definition is not available immediately, it requires certain care.

./danfe