Bug 218615 - math/eukleides: Use egrep instead of grep to reduce reliance on GNU extensions
Summary: math/eukleides: Use egrep instead of grep to reduce reliance on GNU extensions
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ashish SHUKLA
URL:
Keywords:
Depends on:
Blocks: 218385
  Show dependency treegraph
 
Reported: 2017-04-13 00:25 UTC by Kyle Evans
Modified: 2017-04-16 16:45 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ashish)


Attachments
svn(1) diff of math/eukleides (635 bytes, patch)
2017-04-13 00:25 UTC, Kyle Evans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Evans freebsd_committer 2017-04-13 00:25:34 UTC
Created attachment 181744 [details]
svn(1) diff of math/eukleides

Hi,

I'm attaching a patch to use egrep instead of grep to reduce reliance on GNU extensions; in this case, \+ in a BRE is a GNU extension. This was identified in a recent exp-run to test installing BSD grep as /usr/bin/grep and disable GNU grep compatibility in the process.
Comment 1 commit-hook freebsd_committer 2017-04-16 16:43:30 UTC
A commit references this bug:

Author: ashish
Date: Sun Apr 16 16:43:24 UTC 2017
New revision: 438664
URL: https://svnweb.freebsd.org/changeset/ports/438664

Log:
  - Switch to egrep from grep to avoid GNU extensions in basic
    regular expressions.

  PR:		218615
  Submitted by:	Kyle Evans <bsdports@kyle-evans.net>

Changes:
  head/math/eukleides/Makefile
Comment 2 Ashish SHUKLA freebsd_committer 2017-04-16 16:45:20 UTC
Committed.

Thanks!