From 607adea6c0ae58c975a7c0a33c68d67ce781baeb Mon Sep 17 00:00:00 2001 From: Chris 'BinGOs' Williams Date: Thu, 30 Mar 2017 14:18:37 +0100 Subject: [PATCH] Handle perls without dot in @INC --- Changes | 3 +++ Makefile.PL | 1 + lib/AAAA/Crypt/DH.pm | 10 +++++----- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Changes b/Changes index aafce30..e0c15f3 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,9 @@ Changelog for AAAA::Crypt::DH ============================= +0.06 Thu Mar 30 14:18:59 BST 2017 + - Handle perls without dot in @INC + 0.04 Tue Oct 5 10:23:57 BST 2010 - version bump to include latest Devel::CheckLib which should diff --git a/Makefile.PL b/Makefile.PL index 59b0df6..3b77bf8 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,3 +1,4 @@ +use if ! ( grep { $_ eq '.' } @INC ), qw[lib .]; use strict; use inc::Module::Install; name 'AAAA-Crypt-DH'; diff --git a/lib/AAAA/Crypt/DH.pm b/lib/AAAA/Crypt/DH.pm index 6b8dfc0..b335c47 100644 --- a/lib/AAAA/Crypt/DH.pm +++ b/lib/AAAA/Crypt/DH.pm @@ -4,7 +4,7 @@ use strict; use warnings; use vars qw($VERSION); -$VERSION = '0.04'; +$VERSION = '0.06'; qq[Making Crypt::DH installable]; @@ -19,18 +19,18 @@ AAAA::Crypt::DH - making Crypt::DH installable # in Makefile.PL requires 'AAAA::Crypt::DH'; - + =head1 DESCRIPTION -AAAA::Crypt::DH is a L distribution that makes sure that either +AAAA::Crypt::DH is a L distribution that makes sure that either L or L are installed so that L works at a speed approaching reasonable. -If you have a dependency on L add AAAA::Crypt::DH as an +If you have a dependency on L add AAAA::Crypt::DH as an additional dependency and one of the above Math libs will be installed before L. -Why the C<'AAAA'>? Well, L and L install prereqs sorted +Why the C<'AAAA'>? Well, L and L install prereqs sorted alphabetically, the C<'AAAA'> ensures that this prereq is installed before L. Simples.