Date: Sat, 02 Jun 2018 11:22:50 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: maintainer-feedback requested: [Bug 228673] [PATCH] graphics/mesa-dri - configure script fails with BSD grep Message-ID: <bug-228673-7141-ewbSKxVDCf@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228673-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-228673-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 mailing li= st <x11@FreeBSD.org> for maintainer-feedback: Bug 228673: [PATCH] graphics/mesa-dri - configure script fails with BSD grep https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228673 --- Description --- The configure script uses a non-standard syntax not supported by the BSD gr= ep 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228673-7141-ewbSKxVDCf>