summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-06-13 20:22:53 +1200
committerKent Fredric <kentnl@gentoo.org>2017-06-13 20:42:24 +1200
commitf023ab58170b7786c5160506cb7dc773c088d177 (patch)
treefa05adc629ff260e1dc8e3c5e1f74fad221b1521
parentapp-admin/monit: Removed old. (diff)
downloadgentoo-f023ab58170b7786c5160506cb7dc773c088d177.tar.gz
gentoo-f023ab58170b7786c5160506cb7dc773c088d177.tar.bz2
gentoo-f023ab58170b7786c5160506cb7dc773c088d177.zip
dev-perl/Authen-SASL: Fix for '.' in @INC re bug #613808
Apply standard Module::Install fix for '.' in @INC Bug: https://bugs.gentoo.org/613808 Package-Manager: Portage-2.3.6, Repoman-2.3.2
-rw-r--r--dev-perl/Authen-SASL/Authen-SASL-2.160.0-r1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r1.ebuild b/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r1.ebuild
index c2ed6d5d2488..b5d54499c498 100644
--- a/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r1.ebuild
+++ b/dev-perl/Authen-SASL/Authen-SASL-2.160.0-r1.ebuild
@@ -19,3 +19,9 @@ RDEPEND="${DEPEND}"
SRC_TEST="do"
export OPTIMIZE="$CFLAGS"
+
+src_prepare() {
+ sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL ||
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+ perl-module_src_prepare
+}