Migrating from perl5-5.20 to perl5.22 using custom packages?
matthew at FreeBSD.org
Sun Sep 6 11:01:03 UTC 2015
On 05/09/2015 17:29, David Wolfskill wrote:
> While it claimed success and exited with an exit status of 0, it says
> that what it did with respect to Perl was:
> perl5: 5.20.2_5 -> 5.20.2_6
> which isn't quite what I had in mind.
> In checking the package repository, I see:
> freebeast(10.2-S) (cd All; ls -lT perl*)
> -rw-r--r-- 5 nobody wheel 13746168 Aug 16 04:33:03 2015 perl5-5.20.2_6.txz
> -rw-r--r-- 5 nobody wheel 13935800 Jul 4 14:53:37 2015 perl5.18-5.18.4_15.txz
> -rw-r--r-- 1 nobody wheel 13958800 Sep 5 05:53:23 2015 perl5.22-5.22.0_2.txz
> I suppose a bit of housecleaning is in order... but is the existence
> of the the perl5-5.20.2_6.txz the reason/excuse for not picking up
> What do I need to do to switch to perl5.22 on my production machines?
I did exactly this a week or so ago. Given you've got your own
poudriere setup, then:
1) Edit /usr/local/etc/poudriere.d/make.conf (or an build
specific variant) and set:
2) Run a poudriere bulk to rebuild all the packages that depend on
perl. That's going to be most of them because GNU autotools
introduces a build-depends on perl through automake...
3) Upgrade packages as normal:
You should see pkg wanting to remove perl5.20, install perl5.22 and
reinstall all perl modules or other ports with a run-time dependency on
Note that the default version of perl in your repo will get the pkgname
'perl5', and all others will get a pkgname of the form 'perl5.XY' -- so
in my repo, I have:
% pkg search -x perl5
ie 5.22 is the default version but I also have a (basically useless)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 957 bytes
Desc: OpenPGP digital signature
More information about the freebsd-ports