* Perl files should now honour perl system config.
authorRobert Collins <robertc@robertcollins.net>
Sat, 23 Nov 2013 23:01:37 +0000 (12:01 +1300)
committerRobert Collins <robertc@robertcollins.net>
Sat, 23 Nov 2013 23:01:37 +0000 (12:01 +1300)
  (Benedikt Morbach, #1233198)

With INSTALL_BASE, perl files are unconditionally installed to
${prefix}/lib/perl5/ instead of respecting the system-dependent perl
library path that is set when perl is installed. (sitelib/vendorlib) If
INSTALL_BASE is changed to PREFIX, it correctly finds the path where it
should install via perl's Config.pm

NEWS
perl/Makefile.PL.in

diff --git a/NEWS b/NEWS
index 380eb6c163ea7d56ab108d54944b86885a2923bb..b7f24bf47364cdd1df6055f3f2100b2d41300abd 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,9 @@ NEXT (In development)
 BUG FIXES
 ~~~~~~~~~
 
+* Perl files should now honour perl system config.
+  (Benedikt Morbach, #1233198)
+
 * Python 3.1 and 3.2 have an inconsistent memoryview implementation which
   required a workaround for NUL byte detection. (Robert Collins, #1216246)
 
index cf5e6c4c76b509d130880c10c64b6eeffd9287fe..9289594b708fd7d56187ae619b3ffcefbd2c0446 100755 (executable)
@@ -1,6 +1,6 @@
 use ExtUtils::MakeMaker;
 WriteMakefile(
-    'INSTALL_BASE' => '@prefix@',
+    'PREFIX' => '@prefix@',
     'NAME'     => 'Subunit',
     'VERSION' => '@SUBUNIT_VERSION@',
     'test' => { 'TESTS' => 'tests/*.pl' },