1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00
freebsd-ports/lang/perl5.6/files/patch-Install.pm
Anton Berezin 6bab76381c 1. Merge from src/contrib/perl5/lib/ExtUtils/Attic/Install.pm rev. 1.2:
Force installs. This is to allow (semi-)automatic garbage removal by
      "find /usr/libdata -ctime -N -delete".

Well - substitute /usr/libdata with /usr/local/lib/perl5 here.

Requested by:	sheldonh

2. Do not link with libbind even if Configure detects it.  A particular
reason for that is that perl's getpw* stop working with NIS.

Reported by:	Russell Cattelan <cattelan@thebarn.com>
2002-07-10 16:06:00 +00:00

21 lines
526 B
Perl

--- lib/ExtUtils/Install.pm.orig Fri Feb 23 03:57:55 2001
+++ lib/ExtUtils/Install.pm Wed Jul 10 17:57:13 2002
@@ -132,7 +132,7 @@
$diff++;
}
- if ($diff){
+ if ($diff||1){
if (-f $targetfile){
forceunlink($targetfile) unless $nonono;
} else {
@@ -156,7 +156,7 @@
} else {
inc_uninstall($_,$File::Find::dir,$verbose,0); # nonono set to 0
}
- $packlist->{$origfile}++;
+ $packlist->{$targetfile}++;
}, ".");
chdir($cwd) or Carp::croak("Couldn't chdir to $cwd: $!");