wutingcindy / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

gyp build fails around FreeBSD #167

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
version: gyp-r832
target file: gyp/generator/make.py
category: build fail
OS: FreeBSD 9-CURRENT

Background:
    Right now FreeBSD getting change of system default sed and grep.
  Legacy FreeBSD uses GNU sed and GNU grep as their system default
  commands. But now, they are developing BSD sed and BSD grep, and
  unfortunately, some feature is not in their implementation.
  FreeBSD 9-CURRENT use BSD sed and grep.

Issues and suggestions:
  gyp uses GNU sed and GNU grep in their scripts (or it looks like so).
  And that script it not compatible with BSD sed and grep. There is 2 ways
  to fix that.

  1) Change sed and grep pattern to get for both GNU and BSD.
  2) Change command name and path of sed and grep on FreeBSD.
    sed --> gsed
    grep --> /usr/local/bin/grep
       (there is a little confusion. /usr/bin/grep is BSD grep and
       /usr/local/bin/grep is GNU grep.)

Thanks

Original issue reported on code.google.com by daichig...@gmail.com on 3 Oct 2010 at 3:43

GoogleCodeExporter commented 9 years ago
Did r844 address these issues?

Original comment by mmoss@chromium.org on 28 Jul 2011 at 5:54

GoogleCodeExporter commented 9 years ago
No reply for over one year, closing out.

Original comment by thakis@chromium.org on 20 Sep 2012 at 9:29