diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2015-12-19 18:50:00 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2015-12-19 18:50:00 +0100 |
commit | dc858f6a75f94c0a1b3d6e5c6e83a874e8b57d8b (patch) | |
tree | da1d7742c356134218842c361ff5458a01621669 /eclass/perl-module.eclass | |
parent | perl-module.eclass: style (diff) | |
download | gentoo-dc858f6a75f94c0a1b3d6e5c6e83a874e8b57d8b.tar.gz gentoo-dc858f6a75f94c0a1b3d6e5c6e83a874e8b57d8b.tar.bz2 gentoo-dc858f6a75f94c0a1b3d6e5c6e83a874e8b57d8b.zip |
perl-module.eclass and perl-functions.eclass: Add infrastructure to build .packlist files and keep/fix them in EAPI=6
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r-- | eclass/perl-module.eclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 80a829d4e795..8b2f3a44b622 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -244,7 +244,7 @@ perl-module_src_configure() { --installdirs=vendor \ --libdoc= \ --destdir="${D}" \ - --create_packlist=0 \ + --create_packlist=1 \ "${myconf_local[@]}" einfo "perl Build.PL" "$@" perl Build.PL "$@" <<< "${pm_echovar}" \ @@ -407,7 +407,12 @@ perl-module_src_install() { perl_delete_module_manpages perl_delete_localpod - perl_delete_packlist + if [[ ${EAPI:-0} == 5 ]] ; then + perl_delete_packlist + else + perl_fix_packlist + perl_delete_emptybsdir + fi perl_remove_temppath for f in Change* CHANGES README* TODO FAQ ${mydoc}; do |