Summary: | [PATCH] graphics/mesa-dri - configure script fails with BSD grep | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Stefan Eßer <se> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-x11 (Nobody) <x11> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | zeising | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(x11) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 228798 | ||||||
Attachments: |
|
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! |
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"