[Bug 286309] Move PERL5_DEFAULT to 5.40
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 286309] Move PERL5_DEFAULT to 5.40"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 May 2025 09:49:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286309
Tatsuki Makino <tatsuki_makino@hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tatsuki_makino@hotmail.com
--- Comment #9 from Tatsuki Makino <tatsuki_makino@hotmail.com> ---
(In reply to commit-hook from comment #8)
> UPDATING | 8 ++++++++
If the portmaster user follows the entry 20231017, the updates will be
completed to a state where there are no issues with using perl.
However, since the environment remains dirty, I will note down some other
points of concern here, including that.
> First, add to /etc/make.conf:
> DEFAULT_VERSIONS+= perl5=5.36
This should be done as instructed.
As a way to be lazy about that...
-m option of portmaster may be able to be used for that.
portmaster ... -m DEFAULT_VERSIONS=perl5=5.40 ... -o lang/perl5.40 perl5
However, this will disable other DEFAULT_VERSIONS due to the operation of make.
If all other DEFAULT_VERSIONS are written using the operator += like
DEFAULT_VERSIONS+= python=3.9 ssl=openssl111, then env can be used.
env DEFAULT_VERSIONS=perl5=5.40 portmaster -o lang/perl5.40 perl5
> portmaster -f `pkg shlib -qR libperl.so.5.34`
-f option here causes a rebuild of unrelated ports.
It's just a waste of time.
Despite wasting time, not all ports listed by the following command are
included.
find /usr/local/lib/perl5/site_perl/mach/5.36/ -not -type d -exec pkg which -q
{} + | sort -u
These ports require reinstallation to move files located in directories named
with old version number.
Well, I feel like I've written something similar somewhere before :)
--
You are receiving this mail because:
You are on the CC list for the bug.