Fix build with Perl 5.26+ (no . in @INC)
Fix spacing in Makefile OK bcallah@ sthen@
This commit is contained in:
parent
8490ed4a01
commit
24adcb02fe
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2016/03/20 19:57:24 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2019/01/30 14:27:44 cwen Exp $
|
||||
|
||||
COMMENT = Perl extension to access the x11 clipboard
|
||||
|
||||
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@openbsd.org>
|
||||
# Perl
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
RUN_DEPENDS = x11/xclip
|
||||
RUN_DEPENDS = x11/xclip
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
10
x11/p5-Clipboard/patches/patch-Makefile_PL
Normal file
10
x11/p5-Clipboard/patches/patch-Makefile_PL
Normal file
@ -0,0 +1,10 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.1 2019/01/30 14:27:45 cwen Exp $
|
||||
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 <rking@panoptic.com>');
|
Loading…
x
Reference in New Issue
Block a user