1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

- fix regression introduced in 6.84

- bump PORTREVISION

PR:		ports/187889
Submitted by:	Don Lewis <truckman@FreeBSD.org>
This commit is contained in:
Andrej Zverev 2014-03-24 17:29:50 +00:00
parent 48570eef1f
commit 45c0afaf3a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349033
2 changed files with 28 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= ExtUtils-MakeMaker
PORTVERSION= 6.90
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

View File

@ -0,0 +1,27 @@
From ebc81421813878cff65dc50c54d37d1d8c327ef2 Mon Sep 17 00:00:00 2001
From: Andrej Zverev <andrej.zverev@gmail.com>
Date: Mon, 24 Mar 2014 16:50:01 +0000
Subject: [PATCH] Resolve regression in MM_Unix.pm
Reported as https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/96
Signed-off-by: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
---
lib/ExtUtils/MM_Unix.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm
index fe02dec..2a2d051 100644
--- lib/ExtUtils/MM_Unix.pm
+++ lib/ExtUtils/MM_Unix.pm
@@ -1291,7 +1291,7 @@ sub init_dirscan { # --- File and Directory Lists (.xs .pm .pod etc)
foreach my $name ($self->lsdir($Curdir)){
next if $name =~ /\#/;
- next if $name =~ $distprefix;
+ next if $name =~ $distprefix && -d $name;
$name = lc($name) if $Is{VMS};
next if $name eq $Curdir or $name eq $Updir or $ignore{$name};
next unless $self->libscan($name);
--