Unbreak www/p5-Starlet with Perl 5.28

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Unbreak www/p5-Starlet with Perl 5.28

Charlene Wendling
Here is a diff that fixes Starlet's build with Perl 5.28.

It requires the following fixes i've submitted just before:

- devel/p5-Class-Accessor-Lite
- www/fcgi
- devel/p5-Parallel-Prefork

'make test' passes.

Charlène.

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/p5-Starlet/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile 7 Sep 2018 20:47:49 -0000 1.5
+++ Makefile 27 Jan 2019 22:09:00 -0000
@@ -6,6 +6,7 @@ MODULES= cpan
 PKG_ARCH= *
 DISTNAME= Starlet-0.31
 CATEGORIES= www
+REVISION= 0
 
 CPAN_AUTHOR= KAZUHO
 
Index: patches/patch-Makefile_PL
===================================================================
RCS file: patches/patch-Makefile_PL
diff -N patches/patch-Makefile_PL
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-Makefile_PL 27 Jan 2019 22:09:00 -0000
@@ -0,0 +1,10 @@
+$OpenBSD$
+Fix for perl 5.26.0+ (no . in @inc by default)
+Index: Makefile.PL
+--- Makefile.PL.orig
++++ Makefile.PL
+@@ -1,3 +1,4 @@
++BEGIN { push @INC, '.'; }
+ use inc::Module::Install;
+
+ all_from 'lib/Starlet.pm';

Reply | Threaded
Open this post in threaded view
|

Re: Unbreak x11/p5-Clipboard with Perl 5.28

Stuart Henderson
> RCS file: /cvs/ports/x11/p5-Clipboard/Makefile,v
> RCS file: /cvs/ports/www/p5-WWW-Mechanize-TreeBuilder/Makefile,v
> RCS file: /cvs/ports/devel/p5-Class-Accessor-Lite/Makefile,v
> RCS file: /cvs/ports/www/fcgi/Makefile,v
> RCS file: /cvs/ports/devel/p5-Parallel-Prefork/Makefile,v
> RCS file: /cvs/ports/www/p5-Starlet/Makefile,v

OK.  Revision bumps not necessary as these are build system changes only
not affecting the packages, but they don't hurt.

> RCS file: /cvs/ports/www/p5-WWW-Wikipedia/Makefile,v

OK