Subject: | [PATCH] After switching to MakeMaker, no longer installs over core version |
The Module::Install version of this module made sure to install itself over the core version by using install_as_core(). Now that MakeMaker is used, the similar INSTALLDIRS => 'perl' setting needs to be used. Patch attached.
Subject: | 0001-Set-INSTALLDIRS-perl-to-ensure-we-install-over-the-c.patch |
From a02399c35f170b50bc1652a42d1edbe8d18f7686 Mon Sep 17 00:00:00 2001
From: Andy Grundman <andyg@activestate.com>
Date: Sat, 10 Dec 2016 18:04:31 -0500
Subject: [PATCH] Set INSTALLDIRS => 'perl' to ensure we install over the core
version and not into sitelib or elsewhere.
---
Makefile.PL | 1 +
1 file changed, 1 insertion(+)
mode change 100644 => 100755 Makefile.PL
diff --git a/Makefile.PL b/Makefile.PL
old mode 100644
new mode 100755
index 4e8cb12..21d526a
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -15,6 +15,7 @@ WriteMakefile
'Test::More' => 0.94,
'Math::Complex' => 1.39,
},
+ 'INSTALLDIRS' => 'perl', # install over the core version
'LICENSE' => 'perl_5',
'LIBS' => [''], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
--
2.8.1