diff --git a/lang/perl5.20/Makefile b/lang/perl5.20/Makefile index c19b5d4157db..c179ec38bac0 100644 --- a/lang/perl5.20/Makefile +++ b/lang/perl5.20/Makefile @@ -3,6 +3,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VERSION} +PORTREVISION= 1 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN \ ${MASTER_SITE_LOCAL:S/$/:local/} \ diff --git a/lang/perl5.20/files/patch-cpan__ExtUtils-MakeMaker__lib__ExtUtils__MM_Unix.pm b/lang/perl5.20/files/patch-cpan__ExtUtils-MakeMaker__lib__ExtUtils__MM_Unix.pm new file mode 100644 index 000000000000..1799e50760e1 --- /dev/null +++ b/lang/perl5.20/files/patch-cpan__ExtUtils-MakeMaker__lib__ExtUtils__MM_Unix.pm @@ -0,0 +1,16 @@ +ExtUtils::MakeMaker starting from 6.80 by default does not copy .bs files if they are empty. +More information can be obtained from ports/183305 + +--- cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.orig 2013-10-15 23:04:44.000000000 +0800 ++++ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2013-10-26 04:30:48.748262789 +0800 +@@ -958,8 +958,8 @@ + + push @m, <<'MAKE'; + $(CHMOD) $(PERM_RWX) $@ +- $(NOECHO) $(RM_RF) $(BOOTSTRAP) +- - $(CP_NONEMPTY) $(BOOTSTRAP) $(INST_BOOT) $(PERM_RW) ++ $(NOECHO) $(RM_RF) $(INST_BOOT) ++ - $(TOUCH) $(BOOTSTRAP) && $(CP) $(BOOTSTRAP) $(INST_BOOT) && $(CHMOD) $(PERM_RW) $(INST_BOOT) + MAKE + + return join('',@m);