Restore behavior for internal EU::MM - make copy .bs files even if they

are empty.
This commit is contained in:
Andrej Zverev 2014-05-29 18:58:08 +00:00
parent 8f66ae99c3
commit 91f65ad907
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355726
2 changed files with 17 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VERSION}
PORTREVISION= 1
CATEGORIES= lang devel perl5
MASTER_SITES= CPAN \
${MASTER_SITE_LOCAL:S/$/:local/} \

View file

@ -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);