perl-functions.eclass: Add perl-fix_permissions

Bug: https://bugs.gentoo.org/554346
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
Andreas K. Hüttel 2021-05-17 23:26:29 +02:00
parent 745dc079e7
commit c03b86e8af
No known key found for this signature in database
GPG Key ID: 4C49F79E54D0A206
1 changed files with 10 additions and 0 deletions

View File

@ -127,6 +127,16 @@ perl_delete_emptybsdir() {
fi
}
# @FUNCTION: perl_fix_permissions
# @DESCRIPTION:
# Make all of ${D} user-writable, since EU::MM does silly things with
# the w bit. See bug 554346.
perl_fix_permissions() {
debug-print-function $FUNCNAME "$@"
perl_set_version
fperms -R u+w "${D}"
}
# @FUNCTION: perl_fix_packlist
# @DESCRIPTION:
# Look through ${D} for .packlist text files containing the temporary installation