Created attachment 193910 [details]
Patch that replaces GNU grep specific pattern with generic egrep pattern.
The configure script uses a non-standard syntax not supported by the BSD grep in -CURRENT. This is easily fixed by use of grep -E or egrep (see attached patch, which makes configure work with ancient and current GNU grep and BSD grep).
The problematic command is:
echo $platforms | grep -q "x11\|drm"
The standard compliant form that does not depend on GNU grep is:
echo $platforms | egrep -q "x11|drm"
A commit references this bug:
Date: Fri Jun 22 09:35:05 UTC 2018
New revision: 473029
Add a patch to fix build with BSD grep
Since this is not the default, no need to bump portrevision.
Submitted by: Stefan Esser