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: Author: zeising Date: Fri Jun 22 09:35:05 UTC 2018 New revision: 473029 URL: https://svnweb.freebsd.org/changeset/ports/473029 Log: Add a patch to fix build with BSD grep Since this is not the default, no need to bump portrevision. PR: 228673 Submitted by: Stefan Esser Changes: head/graphics/mesa-dri/files/patch-configure
Fixed, thanks!