Hi, ports@:

     Here is a patch for devel/p5-Test-MockModule:
     i) Update to 0.170.0
     ii) Add TEST_POD=yes and AUTHOR_TESTING=yes to MAKE_ENV
     iii) Remove trailing whitespace.

     It build well and pass all tests on amd64-head system.

     4 ports depends on it, 3 of them build and pass all tests:
           archivers/p5-Archive-Zip
           databases/p5-DBIx-Connector
           net/p5-Net-TFTP
     one of them failed with tests but it was not caused by this patch:
           security/p5-Crypt-GpgME

Comments? OK?
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-Test-MockModule/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile    12 Jul 2019 20:45:10 -0000      1.14
+++ Makefile    8 Oct 2019 10:36:46 -0000
@@ -4,7 +4,8 @@ COMMENT =       override subroutines in a modu
 
 MODULES =      cpan
 PKG_ARCH =     *
-DISTNAME =     Test-MockModule-0.11
+DISTNAME =     Test-MockModule-v0.170.0
+PKGNAME =      p5-${DISTNAME:S/-v/-/}
 CATEGORIES =   devel
 
 # Artistic
@@ -12,6 +13,8 @@ PERMIT_PACKAGE =      Yes
 
 CONFIGURE_STYLE =      modbuild
 
+MAKE_ENV =             TEST_POD=yes AUTHOR_TESTING=yes
+
 RUN_DEPENDS =          devel/p5-SUPER
- 
+
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-Test-MockModule/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo    30 Oct 2015 17:45:28 -0000      1.5
+++ distinfo    8 Oct 2019 10:36:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (Test-MockModule-0.11.tar.gz) = 
BVhLo6Z/gR4NVj65+2gEnbDugcLNr1ZTUGfG35IvFLk=
-SIZE (Test-MockModule-0.11.tar.gz) = 23756
+SHA256 (Test-MockModule-v0.170.0.tar.gz) = 
n3m6l1ywSeHoB8Nt4aMRJgef/8TyLugVJmQaiWnm710=
+SIZE (Test-MockModule-v0.170.0.tar.gz) = 24765

Reply via email to