Hi, ports@:

   Here is a patch for www/p5-CGI-Compile:
    i) Update to 0.23
    ii) Remove the unneeded line of BUILD_DEPENDS
    ii) Add p5-Switch and p5-Plack as TEST_DEPENDS
    iv) Add TEST_POD=yes to MAKE_ENV

   It build well and pass all tests on amd64-current system.
   One port depends on it : www/p5-Plack. It build
well and pass all tests with this patch.

Cheers !
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/p5-CGI-Compile/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile    12 Jul 2019 20:50:49 -0000      1.8
+++ Makefile    17 Jan 2020 13:40:56 -0000
@@ -4,7 +4,7 @@ COMMENT=        compile .cgi scripts to a code 
 
 MODULES=       cpan
 PKG_ARCH=      *
-DISTNAME =     CGI-Compile-0.22
+DISTNAME =     CGI-Compile-0.23
 CATEGORIES=    www
 
 # Perl
@@ -12,10 +12,12 @@ PERMIT_PACKAGE=     Yes
 
 CONFIGURE_STYLE=modbuild tiny
 
-BUILD_DEPENDS =        ${RUN_DEPENDS}
-
 RUN_DEPENDS =  devel/p5-File-pushd
 
-TEST_DEPENDS = devel/p5-Test-NoWarnings
+TEST_DEPENDS = www/p5-Plack \
+               devel/p5-Switch \
+               devel/p5-Test-NoWarnings
+
+MAKE_ENV +=    TEST_POD=Yes AUTHOR_TESTING=Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/p5-CGI-Compile/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo    1 Jun 2017 07:04:54 -0000       1.5
+++ distinfo    17 Jan 2020 13:40:56 -0000
@@ -1,2 +1,2 @@
-SHA256 (CGI-Compile-0.22.tar.gz) = 9QlOnGt5PjFoy2IfH2Yfjhq7TxQXYeC3mghZvV5bzK8=
-SIZE (CGI-Compile-0.22.tar.gz) = 21160
+SHA256 (CGI-Compile-0.23.tar.gz) = gDmGyDmhDAFJu5+Mr2/V5ECKqebTNyLH2cWY/N8ymY0=
+SIZE (CGI-Compile-0.23.tar.gz) = 21667

Reply via email to