ports/devel/p5-ExtUtils-Install/files/patch-lib_ExtUtils_Install.pm
Mathieu Arnold 7397efc8f9 Make Perl behave nicely, and install files 644 and not 444.
With hat:	perl@
Sponsored by:	Absolight
2015-06-29 12:32:41 +00:00

11 lines
488 B
Raku

--- lib/ExtUtils/Install.pm.orig 2015-06-19 12:08:32 UTC
+++ lib/ExtUtils/Install.pm
@@ -809,7 +809,7 @@ sub install { #XXX OS-SPECIFIC
utime($atime,$mtime + $Is_VMS,$targetfile) unless $dry_run>1;
- $mode = 0444 | ( $mode & 0111 ? 0111 : 0 );
+ $mode = 0644 | ( $mode & 0111 ? 0111 : 0 );
$mode = $mode | 0222
if $realtarget ne $targetfile;
_chmod( $mode, $targetfile, $verbose );