tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: remove tool from USE_TOOLS
On Sat, Jan 10, 2009 at 03:20:32PM +0100, Roland Illig wrote:
> Roland Illig schrieb:
> > Petar Bogdanovic schrieb:
> >> Hi,
> >>
> >> I don't know which part of the pkgsrc devel guide I missed but is there
> >> a way to remove a tool from USE_TOOLS besides..
> >>
> >> USE_TOOLS = ${USE_TOOLS:Nxargs}
> >>
> >> which is a recursive declaration and doesn't work?
> >
> > It's good that it doesn't work that way, since you should _add_ xargs to
> > the USE_TOOLS list instead of removing it. Did you try that?
>
> Oops, I answered too quickly. I thought that USE_TOOLS+=xargs would
> automatically add something to CONFIGURE_ARGS, but it doesn't. So the
> best way to solve this is this:
>
> USE_TOOLS+= xargs
> CONFIGURE_ARGS+= XARGS=${TOOLS_PLATFORM.xargs}
>
> or whichever environment variable the configure script expects.
I just read the [1]slides of jlam@ about USE_TOOLS and it seems that
I've completely misunderstood the concept of the tools framework.
Thanks for the pointers!
Petar Bogdanovic
[1] http://www.pkgsrccon.org/2005/slides/jlam/tools.html
Home |
Main Index |
Thread Index |
Old Index