From owner-freebsd-current@FreeBSD.ORG Thu Oct 11 18:22:32 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 5DA6E417; Thu, 11 Oct 2012 18:22:32 +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 2B1618FC0C; Thu, 11 Oct 2012 18:22:32 +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 q9BIMVBH087430; Thu, 11 Oct 2012 12:22:31 -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 q9BIMRUv083368; Thu, 11 Oct 2012 12:22:27 -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: Thu, 11 Oct 2012 12:22:27 -0600 Message-ID: <1349979747.1123.77.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: Thu, 11 Oct 2012 18:22:32 -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 That would be helpful to us if you did that, thank you. We try to avoid including anything [L]GPL-licensed in the embedded-systems products we ship at work. -- Ian