commit: 9be198be536915b3e9f3da57eca25c90d7ca3214 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat May 4 10:24:28 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri May 10 17:27:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be198be
perl-module.eclass: stop using ${D} for MakeMaker in src_configure See https://metacpan.org/dist/ExtUtils-MakeMaker/view/lib/ExtUtils/MakeMaker.pm#DESTDIR. Bug: https://bugs.gentoo.org/778806 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/perl-module.eclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index 9e3cfab16f94..aed16b41df89 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -292,7 +292,6 @@ perl-module_src_configure() { PREFIX="${EPREFIX}"/usr \ INSTALLDIRS=vendor \ INSTALLMAN3DIR='none' \ - DESTDIR="${D}" \ "${myconf_local[@]}" einfo "perl Makefile.PL" "$@" perl Makefile.PL "$@" <<< "${pm_echovar}" \ @@ -452,7 +451,7 @@ perl-module_src_install() { else local myinst_local=("${myinst[@]}") fi - emake "${myinst_local[@]}" ${mytargets} + emake DESTDIR="${D}" "${myinst_local[@]}" ${mytargets} fi case ${EAPI} in