[PATCH cygport v3] autotools.cygclass: correctly detect Autoconf 2.70+

2022-03-14 Thread Adam Dinwoodie
The latest version of Autoconf is 2.71, but the version detection incorrectly considers 2.70 and higher as being the same as 2.59 and lower for the purposes of specifying documentation directories. Correct that, and make the version detection a bit more future-proof by parsing out the actual versi

Re: [PATCH cygport v2] autotools.cygclass: correctly detect Autoconf 2.70+

2022-03-14 Thread Adam Dinwoodie
On Mon, Mar 14, 2022 at 07:05:20PM +, Jon Turney wrote: > On 13/03/2022 20:44, Adam Dinwoodie wrote: > > configure="${confdir}/configure" > > confver=$(grep -m 1 'GNU Autoconf' ${configure} | cut -d ' ' -f 6) > > + confver_maj=${confver%%.*} > > + confver_min=${confver##*.} > > +

Re: cygport

2022-03-14 Thread Jon Turney
On 14/03/2022 20:12, Achim Gratz wrote: Jon Turney writes: lib/pkg_info.cygport: implement automatic determination of the appropriate perl5_0xy requirement 1. In __list_deps(), this should look at the files list in $@, not at files in $D, as that causes it to identify a perl5_0xy dependency for

Re: cygport

2022-03-14 Thread Achim Gratz
Jon Turney writes: > lib/pkg_info.cygport: implement automatic determination of the > appropriate perl5_0xy requirement > 1. In __list_deps(), this should look at the files list in $@, not at > files in $D, as that causes it to identify a perl5_0xy dependency for > all subpackages, irrespective of

Re: cygport

2022-03-14 Thread Jon Turney
On 10/01/2022 18:10, Achim Gratz wrote: I've rebased the remaining patches on my to-upstream branch onto the current release of cygport: https://repo.or.cz/cygport/rpm-style.git/shortlog/refs/heads/to-upstream Note that some of these are required to correctly build and distribute Perl and its

Re: [PATCH cygport v2] autotools.cygclass: correctly detect Autoconf 2.70+

2022-03-14 Thread Jon Turney
On 13/03/2022 20:44, Adam Dinwoodie wrote: configure="${confdir}/configure" confver=$(grep -m 1 'GNU Autoconf' ${configure} | cut -d ' ' -f 6) + confver_maj=${confver%%.*} + confver_min=${confver##*.} + if [ $confver_maj -ne 2 ] + then + error "