Hi ports, 

Clipboard cannot be built with Perl 5.28, here is a diff to fix it. 

'make test' passes. 

Charlène. 

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/p5-Clipboard/Makefile,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 Makefile
--- Makefile    20 Mar 2016 19:57:24 -0000      1.2
+++ Makefile    27 Jan 2019 20:40:23 -0000
@@ -5,6 +5,7 @@ COMMENT =       Perl extension to access the x
 MODULES =      cpan
 PKG_ARCH =     *
 DISTNAME =     Clipboard-0.13
+REVISION =     0
 CATEGORIES =   x11
 
 MASTER_SITES = http://search.cpan.org/CPAN/authors/id/K/KI/KING/
@@ -14,6 +15,6 @@ MAINTAINER =  Aaron Bieber <abieber@openb
 # Perl
 PERMIT_PACKAGE_CDROM = Yes
 
-RUN_DEPENDS =  x11/xclip
+RUN_DEPENDS =          x11/xclip
 
 .include <bsd.port.mk>
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 20:40:23 -0000
@@ -0,0 +1,10 @@
+$OpenBSD$
+Fix in 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;
+ name('Clipboard');
+ author('Ryan King <[email protected]>');

Reply via email to