1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/lang/perl5/files/patch-Install.pm
Anton Berezin 5a1e2b69e5 Make perl's configure be aware of gcc command line syntax change from
-Acpu(i386) to -Acpu=i386 and similar.

The patch is from Perlland:
http://archive.develooper.com/perl5-porters@perl.org/msg79350.html

While at it, add $ FreeBSD $ to the rest of the patches.

Reported by:	kuriyama
2002-11-01 14:43:46 +00:00

23 lines
537 B
Perl

$FreeBSD$
--- 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: $!");