From owner-freebsd-current@FreeBSD.ORG Sat Oct 13 22:54:25 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E002B679; Sat, 13 Oct 2012 22:54:25 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id AF1008FC12; Sat, 13 Oct 2012 22:54:25 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id q9DMsO6F076556; Sat, 13 Oct 2012 16:54:25 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q9DMsN9D085642; Sat, 13 Oct 2012 16:54:23 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: WITHOUT_GNU_[COMPAT|SUPPORT] From: Ian Lepore To: Gabor Kovesdan In-Reply-To: <507705A7.9060506@FreeBSD.org> References: <1349975380.1123.66.camel@revolution.hippie.lan> <507705A7.9060506@FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Date: Sat, 13 Oct 2012 16:54:23 -0600 Message-ID: <1350168863.1123.87.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2012 22:54:25 -0000 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