On Tue 16 Jun 2020 at 08:00:51 +0200, Roland Illig wrote:
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.
Some versions of autogen.sh are not doing the same thing as other. I
have seen many examples that end with running configure, and many that
don't. Some do extra version checking on which autotools they accept.
Some of these differences may be difficult to paper over. I am thinking
in particular of the variant that automatically runs configure.