Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2007 18:38:42 +0100
From:      RW <fbsd06@mlists.homeunix.com>
To:        freebsd-questions@freebsd.org
Cc:        jamesh@lanl.gov
Subject:   Re: portmaster question
Message-ID:  <20071025183842.6630a22c@gumby.homeunix.com.>
In-Reply-To: <1193323810.4665.21.camel@secretariat.lanl.gov>
References:  <f84c38580710250711q2a795caal244670db4220dad4@mail.gmail.com> <1193323810.4665.21.camel@secretariat.lanl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Oct 2007 08:50:10 -0600
James <jamesh@lanl.gov> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071025183842.6630a22c>