summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2017-07-05 18:54:02 +0200
committerAndreas K. Huettel <dilfridge@gentoo.org>2017-07-05 18:54:02 +0200
commit4f5340ef01882b75f1b255330eda32b85d7bed33 (patch)
tree564de3e4f51f889706478bb1c87a5f2cc26b0ce1 /dev-perl
parentdev-perl/ORLite-Migrate: Add build fix for Perl 5.26, bug 623062 (diff)
downloadgentoo-4f5340ef01882b75f1b255330eda32b85d7bed33.tar.gz
gentoo-4f5340ef01882b75f1b255330eda32b85d7bed33.tar.bz2
gentoo-4f5340ef01882b75f1b255330eda32b85d7bed33.zip
dev-perl/ORLite: Add build fix for Perl 5.26, bug 623056
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/ORLite/ORLite-1.980.0-r1.ebuild14
1 files changed, 9 insertions, 5 deletions
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
+}