WITHOUT_GNU_[COMPAT|SUPPORT]

Ian Lepore freebsd at damnhippie.dyndns.org
Sat Oct 13 22:54:25 UTC 2012


On Thu, 2012-10-11 at 19:45 +0200, Gabor Kovesdan wrote:
> Em 11-10-2012 19:09, Ian Lepore escreveu:
> > I want to build grep without the gnu regex library.  The makefile for
> > usr.bin/grep  contains
> > 
> >   .if !defined(WITHOUT_GNU_COMPAT)
> > 
> > And man src.conf documents WITHOUT_GNU_SUPPORT but doesn't mention
> > WITHOUT_GNU_COMPAT.  Is this a typo in the makefile, or an ommision from
> > the src.conf manpage?
> 
> That time when I added the WITHOUT_GNU_COMPAT knob I didn't make it
> global, just used it for testing grep. I didn't think it was of any use
> for users and I wasn't aware of the existence of WITHOUT_GNU_SUPPORT. If
> it seems useful, I can change grep to use this global flag instead of
> the custom knob and it will just be built without the gnu regex library
> if the knob is set.
> 
> Gabor

As it turns out, no hurry on changing the flag, because bsdgrep built
without the gnu regex library doesn't work well enough to complete a
buildworld.  I filed a PR.

 http://www.freebsd.org/cgi/query-pr.cgi?pr=172677

-- Ian




More information about the freebsd-current mailing list