[Bug 228673] [PATCH] graphics/mesa-dri - configure script fails with BSD grep

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228673

            Bug ID: 228673
           Summary: [PATCH] graphics/mesa-dri - configure script fails
                    with BSD grep
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])

Created attachment 193910
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193910&action=edit
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"

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.