From owner-freebsd-questions@FreeBSD.ORG Thu Oct 25 17:38:48 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57B5116A468 for ; Thu, 25 Oct 2007 17:38:48 +0000 (UTC) (envelope-from fbsd06+PT=09b3190e@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by mx1.freebsd.org (Postfix) with ESMTP id 2785413C494 for ; Thu, 25 Oct 2007 17:38:48 +0000 (UTC) (envelope-from fbsd06+PT=09b3190e@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 6E8D0D0A81; Thu, 25 Oct 2007 13:38:46 -0400 (EDT) Date: Thu, 25 Oct 2007 18:38:42 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20071025183842.6630a22c@gumby.homeunix.com.> In-Reply-To: <1193323810.4665.21.camel@secretariat.lanl.gov> References: <1193323810.4665.21.camel@secretariat.lanl.gov> X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: jamesh@lanl.gov Subject: Re: portmaster question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2007 17:38:48 -0000 On Thu, 25 Oct 2007 08:50:10 -0600 James wrote: > On Thu, 2007-10-25 at 10:11 -0400, Tsu-Fan Cheng wrote: > > > hi, > > i been using portmaster for a while when upgrading my ports, > > often times when there are some problems in certain ports, e.g. > > jdk, i will use "-x jdk" so i can deal with it later. but when > > there are two or more of them that need special attention, i cant > > find a way to do it right, i tried "-x A -x B", this seems only to > > register B as neglected; "-x A B" void B in neglect. can someone > > show me the way?? thanks!! > > > >From man portmaster: > > [-m arguments for make] [-x glob pattern to exclude from > building] -x avoid building ports as dependencies that match this > pattern > > Sounds like it's implemented as a regular expression. Try looking up > the regex syntax for the shell it's implemented in (which I think is > bourne) and using a grouping expression. It's a glob, not a regular expression. I don't think it can be done except by an unreliable cludge like "[ge][if][mo][px]" which matches gimp and firefox.