svn commit: r331660 - in head/devel/p5-ExtUtils-MakeMaker: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Oct 26 08:39:32 UTC 2013


Author: sunpoet
Date: Sat Oct 26 08:39:31 2013
New Revision: 331660
URL: http://svnweb.freebsd.org/changeset/ports/331660

Log:
  - Allow ExtUtils::MakeMaker to install empty .bs file (traditional behavior)
  - Bump PORTREVISION for package change
  
  PR:		ports/183305
  Reported by:	Patrick Powell <papowell at astart.com>
  Patched by:	sunpoet (myself)
  Reviewed by:	az

Added:
  head/devel/p5-ExtUtils-MakeMaker/files/
  head/devel/p5-ExtUtils-MakeMaker/files/patch-lib-ExtUtils-MM_Unix.pm   (contents, props changed)
Modified:
  head/devel/p5-ExtUtils-MakeMaker/Makefile

Modified: head/devel/p5-ExtUtils-MakeMaker/Makefile
==============================================================================
--- head/devel/p5-ExtUtils-MakeMaker/Makefile	Sat Oct 26 08:33:13 2013	(r331659)
+++ head/devel/p5-ExtUtils-MakeMaker/Makefile	Sat Oct 26 08:39:31 2013	(r331660)
@@ -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>

Added: head/devel/p5-ExtUtils-MakeMaker/files/patch-lib-ExtUtils-MM_Unix.pm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-ExtUtils-MakeMaker/files/patch-lib-ExtUtils-MM_Unix.pm	Sat Oct 26 08:39:31 2013	(r331660)
@@ -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('', at m);


More information about the svn-ports-all mailing list