pkgsrc-Users archive

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

Re: Running autogen.sh (was: Re: elinks upgrade request)



At the risk of going on a tangent: When I need to regenerate the
autotools stuff, I prefer using "autoreconf -vi". You can add
autoreconf to USE_TOOLS.

-- 
Benny

On Tue, Jun 16, 2020 at 8:01 AM Roland Illig <roland.illig%gmx.de@localhost> wrote:
>
> On 15.06.2020 17:40, Mayuresh wrote:
> > Would be good to have some guideline. Just instinctively I feel the
> > following is better, but I may be wrong:
> >
> > ${RUN} cd ${WRKSRC} && ${CONFIG_SHELL} autogen.sh
>
> I prefer to have the CONFIGURE_ENV set as well, resulting in:
>
> ${RUN} cd ${WRKSRC} \
> && ${SETENV} ${CONFIGURE_ENV} ${CONFIG_SHELL} autogen.sh
>
> Since that line is quite long and I don't like to see that line
> redundantly, each with tiny variations, I suggest that packages just define:
>
> HAS_AUTOGEN_SH= yes
>
> and the pkgsrc infrastructure takes care of the rest, running it in
> pre-configure.



-- 
Benny


Home | Main Index | Thread Index | Old Index