From: Andreas K. Huettel Date: Wed, 5 Jul 2017 16:54:02 +0000 (+0200) Subject: dev-perl/ORLite: Add build fix for Perl 5.26, bug 623056 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4f5340ef01882b75f1b255330eda32b85d7bed33;p=gentoo.git dev-perl/ORLite: Add build fix for Perl 5.26, bug 623056 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- diff --git a/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild b/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild index ecf059fec738..aa3c29871684 100644 --- a/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild +++ b/dev-perl/ORLite/ORLite-1.980.0-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 -MODULE_AUTHOR=ADAMK -MODULE_VERSION=1.98 +DIST_AUTHOR=ADAMK +DIST_VERSION=1.98 inherit perl-module DESCRIPTION="Extremely light weight SQLite-specific ORM" @@ -31,4 +31,8 @@ RDEPEND=" ${COMMON_DEPEND} " -SRC_TEST=do +src_prepare() { + sed -i -e 's/use inc::Module::Install::DSL/use lib q[.];\nuse inc::Module::Install::DSL/' Makefile.PL || + die "Can't patch Makefile.PL for 5.26 dot-in-inc" + perl-module_src_prepare +}