Page MenuHomeFreeBSD

perl: remove _PERL5_DEFAULT_FILE - unnecessary these days?
Needs ReviewPublic

Authored by rfyu28uyeg_snkmail.com on Apr 8 2018, 2:44 PM.
Tags
Referenced Files
F111038305: D15016.id41266.diff
Wed, Feb 26, 1:34 PM
F111005600: D15016.id41266.diff
Wed, Feb 26, 2:42 AM
Unknown Object (File)
Mon, Feb 24, 3:04 AM
Unknown Object (File)
Mon, Feb 17, 8:38 AM
Unknown Object (File)
Sun, Feb 16, 11:00 AM
Unknown Object (File)
Sun, Feb 16, 10:51 AM
Unknown Object (File)
Fri, Feb 14, 1:57 AM
Unknown Object (File)
Sat, Feb 8, 2:21 PM
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

I am unable to reproduce a condition that requires the _PERL5_DEFAULT_FILE in the current ports. This was added in 2015: https://reviews.freebsd.org/D3704.

This change will remove the chance that a stray _PERL5_DEFAULT_FILE can be left in place which can cause problems.

See also comments at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227356

Test Plan

Re-install non-default perl port using portmaster. For example, install perl5.24 as the default perl port, remove DEFAULT_VERSIONS=perl5=5.24 from make.conf and use portmaster to re-install perl5.24 (note that perl5.26 is the default now). In my testing, it correctly re-installs perl5.24 as the default perl (with /usr/local/bin/perl, etc.).

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped