Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Mar 2016 15:32:40 +0100
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        freebsd-perl@freebsd.org
Subject:   Re: FreeBSD port devel/p5-Getopt-Long, unneeded as Getopt::Long is bundled with perl?
Message-ID:  <56F94088.705@FreeBSD.org>
In-Reply-To: <CAO7rfHETv8pAGU-YHTXXKv5CE9=RKN1%2B-%2Bs2LWedD=OTBu3LOQ@mail.gmail.com>
References:  <20160327215719.GO45285@hades.panopticon> <CAO7rfHETv8pAGU-YHTXXKv5CE9=RKN1%2B-%2Bs2LWedD=OTBu3LOQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--SUvU0Bv9CrltGMbhDhhRHCggWQ5V596nm
Content-Type: multipart/mixed; boundary="OQRLsa7nILEfULg4dPh95hkcnTLUDu9Q5"
From: Matthew Seaman <matthew@FreeBSD.org>
To: freebsd-perl@freebsd.org
Message-ID: <56F94088.705@FreeBSD.org>
Subject: Re: FreeBSD port devel/p5-Getopt-Long, unneeded as Getopt::Long is
 bundled with perl?
References: <20160327215719.GO45285@hades.panopticon>
 <CAO7rfHETv8pAGU-YHTXXKv5CE9=RKN1+-+s2LWedD=OTBu3LOQ@mail.gmail.com>
In-Reply-To: <CAO7rfHETv8pAGU-YHTXXKv5CE9=RKN1+-+s2LWedD=OTBu3LOQ@mail.gmail.com>

--OQRLsa7nILEfULg4dPh95hkcnTLUDu9Q5
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 28/03/2016 14:00, Lars Thegler wrote:
> On 27 March 2016 at 23:57, Dmitry Marakasov <amdmi3@amdmi3.ru> wrote:
>> and the devel/p5-Getopt-Long seems to be unneeded. So, don't we
>> need to remove ${PORTSDIR}/devel/p5-Getopt-Long dependency lines
>=20
> Just be careful with these dual-life modules. The versions of modules
> bundled with the distributions are almost always older than the
> versions on CPAN, and thus the versions in ports. So, a bugfix in e.g.
> Getopt::Long will only be distributed to FreeBSD users if there is an
> explicit dependency listed in the Makefile.

Apparently not in this case.  The version of Getopt::Long bundled with
the oldest version of perl currently in the tree is:

% corelist -v 5.18.4 Getopt::Long
Getopt::Long 2.39

That with the newest release version of perl in the tree is:

% corelist -v 5.22.1 Getopt::Long
Getopt::Long 2.45

and it's 2.48 in perl5-devel:

https://github.com/Perl/perl5/blob/blead/cpan/Getopt-Long/lib/Getopt/Long=
=2Epm#L20

The most recent version of Getopt::Long required by any port where a
version is specified is 2.39:

% cd /usr/ports && grep -r --exclude './.svn/*' 'p5-Getopt-Long>=3D2' .
=2E/devel/p5-Minilla/Makefile:=09
p5-Getopt-Long>=3D2.36:${PORTSDIR}/devel/p5-Getopt-Long \
=2E/devel/p5-App-Cmd/Makefile:BUILD_DEPENDS+=3D
p5-Getopt-Long>=3D2.39:${PORTSDIR}/devel/p5-Getopt-Long
=2E/devel/p5-App-Cmd/Makefile:RUN_DEPENDS+=3D
p5-Getopt-Long>=3D2.39:${PORTSDIR}/devel/p5-Getopt-Long
=2E/converters/p5-LaTeXML/Makefile:=09
p5-Getopt-Long>=3D2.37:${PORTSDIR}/devel/p5-Getopt-Long \

Whilst the currently available version of the separate port is:

% make -C /usr/ports/devel/p5-Getopt-Long -V PKGNAME
p5-Getopt-Long-2.46

So there's no apparent need for any other port to depend on a separate
p5-Getopt-Long, but that port is at least slightly ahead of the bundled
version with any of the available perl ports, except for perl5-devel.
The p5-Getopt-Long port could be upgraded to 2.48 though.

	Cheers,

	Matthew




--OQRLsa7nILEfULg4dPh95hkcnTLUDu9Q5--

--SUvU0Bv9CrltGMbhDhhRHCggWQ5V596nm
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJW+UCOXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC
QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATDfgP/iyOVdwZsWNLXvHZwwPFaofl
MEQg1gxCzDYz4sVZz5H+8SN5R7cy+Wnai+k+e+1QfruBZVX/hk7zgBj+Pa827BzM
Gt9GBAf78Kf6rk7QgXscddTZaAxaw25OdKIvZ+b4ixSvxXoxjXcsut+AUNqjPF7v
nKOls2uF76/3tZ3PZZ8tkvXr35sMThlm5zZt7nHw1k94wjGo0bOMql7p0QPcMDL6
4jijybRZyMLQELOU9vKwR/aHvGo4TiqOdM+lFynw5GTwB53LcxZkahSm5BQTxVlU
2fKZ3OBvUg5gA4xDyMocxNh3GXz16iR7RmmI18pObojD1H2WCX5SAhHrRwnvh5e4
oyXCRwSvyJ1jZoQ30cQwleFD5GXKvhnCVDPEhaw87dYL2TqrZ0dUPlo3uuaC3ctk
9b1lyvmUllpiiU6f5JyftemawUwCOFOkFFFowwxj0lWEFpirCSCpOi8m7FygQKi6
PCSLVHlYNG3m7tUhqxusYxWVEfyHMX5om+C5BN2M7+28BuWliy7Ho3CMJEEcNTHV
PxhNrm0gryvLoT2pKwFNtuDYxTljU2ODlkrvs8cCwY5SAnWTUBnY78P+FQcc+Bdw
cUGXowXzoUqlhBpxueppFGT7oUEc5DIaLqe80cKfXuGZXKDCm2/QlgxearzJM2UQ
1nDlYeN8PuSe1wE5XfYh
=6g0R
-----END PGP SIGNATURE-----

--SUvU0Bv9CrltGMbhDhhRHCggWQ5V596nm--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56F94088.705>