Change 32926 by [EMAIL PROTECTED] on 2008/01/09 19:37:06
Subject: Re: [PATCH] Exclude .svn and _darcs from IPC::SysV's
Makefile.PL libscan
From: Marcus Holland-Moritz <[EMAIL PROTECTED]>
Date: Wed, 9 Jan 2008 19:58:11 +0100
Message-ID: <[EMAIL PROTECTED]>
Make libscan() in IPC::SysV's Makefile.PL inherit EU::MM's
libscan() behaviour.
Affected files ...
... //depot/perl/ext/IPC/SysV/Makefile.PL#10 edit
Differences ...
==== //depot/perl/ext/IPC/SysV/Makefile.PL#10 (text) ====
Index: perl/ext/IPC/SysV/Makefile.PL
--- perl/ext/IPC/SysV/Makefile.PL#9~32846~ 2008-01-05 07:47:40.000000000
-0800
+++ perl/ext/IPC/SysV/Makefile.PL 2008-01-09 11:37:06.000000000 -0800
@@ -76,9 +76,14 @@
sub MY::libscan
{
- my($self, $path) = @_;
- return '' if $path =~ m! /(RCS|CVS|SCCS)/ | [~%]$ | \.(swp|orig|rej)$ !x;
- $path;
+ package MY;
+ my($self, $path) = @_;
+ return $path if $self->SUPER::libscan($path) and
+ $path !~ m! [~%]$
+ | \.(cache\.cm|swp|orig|rej)$
+ | regen\.pl$
+ !x;
+ return '';
}
sub MY::postamble
End of Patch.