diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2013-10-26 16:39:31 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2013-10-26 16:39:31 +0800 |
commit | 931774858dde894ef70f38bfd646da8059476180 (patch) | |
tree | 71a2f13cf7b521c50ebc745d3539c0e75b40e8b5 | |
parent | 7353c728cd925c5b936fdd4bff6f6699fcd50757 (diff) | |
download | freebsd-ports-gnome-931774858dde894ef70f38bfd646da8059476180.tar.gz freebsd-ports-gnome-931774858dde894ef70f38bfd646da8059476180.tar.zst freebsd-ports-gnome-931774858dde894ef70f38bfd646da8059476180.zip |
- Allow ExtUtils::MakeMaker to install empty .bs file (traditional behavior)
- Bump PORTREVISION for package change
PR: ports/183305
Reported by: Patrick Powell <papowell@astart.com>
Patched by: sunpoet (myself)
Reviewed by: az
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker/Makefile | 2 | ||||
-rw-r--r-- | devel/p5-ExtUtils-MakeMaker/files/patch-lib-ExtUtils-MM_Unix.pm | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/devel/p5-ExtUtils-MakeMaker/Makefile b/devel/p5-ExtUtils-MakeMaker/Makefile index b389bbc7388e..22f7b428b21b 100644 --- a/devel/p5-ExtUtils-MakeMaker/Makefile +++ b/devel/p5-ExtUtils-MakeMaker/Makefile @@ -3,6 +3,7 @@ PORTNAME= ExtUtils-MakeMaker PORTVERSION= 6.80 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -41,5 +42,6 @@ post-patch: @${RM} -fr ${WRKSRC}/bundled/ @[ -e ${LOCALBASE}/lib/perl5/${PERL_VER}/mach/CORE/cc_runtime.h ] || \ ${SED} -i '' -e '/cc_runtime.h/d' ${WRKSRC}/lib/ExtUtils/MM_Unix.pm + @${RM} ${WRKSRC}/lib/ExtUtils/MM_Unix.pm.orig .include <bsd.port.post.mk> diff --git a/devel/p5-ExtUtils-MakeMaker/files/patch-lib-ExtUtils-MM_Unix.pm b/devel/p5-ExtUtils-MakeMaker/files/patch-lib-ExtUtils-MM_Unix.pm new file mode 100644 index 000000000000..6f0f1833735b --- /dev/null +++ b/devel/p5-ExtUtils-MakeMaker/files/patch-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 + +--- lib/ExtUtils/MM_Unix.pm.orig 2013-10-15 23:04:44.000000000 +0800 ++++ 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); |