From owner-freebsd-current@FreeBSD.ORG Thu Oct 11 17:45: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 E74A4F1A for ; Thu, 11 Oct 2012 17:45:25 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id 6BB858FC0A for ; Thu, 11 Oct 2012 17:45:25 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id BFBC114E8499; Thu, 11 Oct 2012 19:45:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ot-kxExC_pRB; Thu, 11 Oct 2012 19:45:09 +0200 (CEST) Received: from [192.168.1.100] (5403A6BE.catv.pool.telekom.hu [84.3.166.190]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 1038F14E8257; Thu, 11 Oct 2012 19:45:09 +0200 (CEST) Message-ID: <507705A7.9060506@FreeBSD.org> Date: Thu, 11 Oct 2012 19:45:11 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: WITHOUT_GNU_[COMPAT|SUPPORT] References: <1349975380.1123.66.camel@revolution.hippie.lan> In-Reply-To: <1349975380.1123.66.camel@revolution.hippie.lan> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd@damnhippie.dyndns.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 17:45:26 -0000 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