From owner-freebsd-ports@FreeBSD.ORG Wed Feb 8 14:43:49 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F04B416A420 for ; Wed, 8 Feb 2006 14:43:49 +0000 (GMT) (envelope-from amdmi3@mail.ru) Received: from mx22.mail.ru (mx22.mail.ru [194.67.23.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 031FF43D5C for ; Wed, 8 Feb 2006 14:43:48 +0000 (GMT) (envelope-from amdmi3@mail.ru) Received: from [213.148.29.33] (port=22138 helo=nexii.panopticon) by mx22.mail.ru with esmtp id 1F6qXn-000DhY-00; Wed, 08 Feb 2006 17:43:43 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id A8F581143D; Wed, 8 Feb 2006 17:47:18 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 4B1E147B; Wed, 8 Feb 2006 17:43:50 +0300 (MSK) Date: Wed, 8 Feb 2006 17:43:50 +0300 From: Dmitry Marakasov To: Shaun Amott Message-ID: <20060208144350.GA16517@hades.panopticon> Mail-Followup-To: Shaun Amott , freebsd-ports@freebsd.org References: <20060207003529.GA32317@hades.panopticon> <43E8A5DD.5000509@vonostingroup.com> <43E8ABB1.5020606@vonostingroup.com> <20060207230510.GA73898@hades.panopticon> <20060208134210.GA688@picobyte.net> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060208134210.GA688@picobyte.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-ports@freebsd.org Subject: Re: USE_DOS2UNIX may be more powerful? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 14:43:50 -0000 * Shaun Amott (shaun@inerd.com) wrote: > > But, also now we can use > > > > USE_DOS2UNIX= *.c *.h > > > > To convert all *.c and *.h files in all subdirectories under ${WRKSRC}. > > For the case when we have many directories and cannot use > > USE_DOS2UNIX=YES as it'll corrupt sometring, I think it's the best > > solution. > > But what if you need to convert just the files in the root directory of > $WRKSRC, without descending into subdirectories? USE_DOS2UNIX= /*.c /*.h > Perhaps something like this would be better: > > USE_DOS2UNIX=yes > DOS2UNIX_GLOBS=*.c *.h > > That would then maintain existing behaviour, and still provide the > extended functionality. That makes it imposible to use globs along with find patterns. -- Best regards, Dmitry mailto:amdmi3@mail.ru