[Bps-public-commit] dist-zilla-mintingprofile-rtx branch, master, updated. 0.11-12-g22281eb

? sunnavy sunnavy at bestpractical.com
Wed Feb 19 09:37:59 EST 2020


The branch, master has been updated
       via  22281eb8c549b24de20a7df988fe413ebe59b6c1 (commit)
      from  c11232cb4305b59e327f36057f5e6c243e6583ed (commit)

Summary of changes:
 profiles/db/skel/Makefile.PL      | 1 +
 profiles/default/skel/Makefile.PL | 1 +
 2 files changed, 2 insertions(+)

- Log -----------------------------------------------------------------
commit 22281eb8c549b24de20a7df988fe413ebe59b6c1
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed Feb 19 22:30:02 2020 +0800

    Add "." to @INC to run Makefile.PL even without Module::Install installed
    
    "." is no longer in @INC since perl 5.26, thus people have to install
    "Module::Install" to run "perl Makefile.PL" as it contains:
    
        use inc::Module::Install;
    
    This commit gets around this issue by explicitly adding "." to @INC in
    "Makefile.PL".

diff --git a/profiles/db/skel/Makefile.PL b/profiles/db/skel/Makefile.PL
index c7a673b..b6569ca 100644
--- a/profiles/db/skel/Makefile.PL
+++ b/profiles/db/skel/Makefile.PL
@@ -1,3 +1,4 @@
+use lib '.';
 use inc::Module::Install;
 {{ ($path = $dist->name) =~ s|-|/|g; '' }}
 RTx     '{{$dist->name}}';
diff --git a/profiles/default/skel/Makefile.PL b/profiles/default/skel/Makefile.PL
index c7a673b..b6569ca 100644
--- a/profiles/default/skel/Makefile.PL
+++ b/profiles/default/skel/Makefile.PL
@@ -1,3 +1,4 @@
+use lib '.';
 use inc::Module::Install;
 {{ ($path = $dist->name) =~ s|-|/|g; '' }}
 RTx     '{{$dist->name}}';

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list