tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: infrastructure for autoreconf

* On 2019-08-16 at 17:32 BST, Tobias Nygren wrote:

> We have quite a few packages that TOOL_DEPEND on autoconf/automake and
> override the pre-configure target with a rules that does
> "cd ${WRKSRC} && autoreconf".
> This pattern is cargo culted all over the tree and I think we can do
> better, at least for the straight forward packages. Either we could
> extend GNU_CONFIGURE to accept other values than yes/no, for example:
> GNU_CONFIGURE=	regenerate
> or maybe
> GNU_CONFIGURE=	autoreconf
> Or we could introduce a new companion variable.
> I prefer the first option for being the most compact.

Me too.  I prefer the "autoreconf" option.

Would this handle adding the required USE_TOOLS automatically?  I'd
quite like that too.

Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index