diff options
author | Sam James <sam@gentoo.org> | 2024-05-04 11:18:43 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-10 18:27:04 +0100 |
commit | 9923973f58e7f5af1b1b53d9077b210224fc81b0 (patch) | |
tree | f38f5d04b668eb312027428c59206c608481ad0b | |
parent | perl-module.eclass: respect toolchain variables for Module::Build via --confi... (diff) | |
download | gentoo-9923973f58e7f5af1b1b53d9077b210224fc81b0.tar.gz gentoo-9923973f58e7f5af1b1b53d9077b210224fc81b0.tar.bz2 gentoo-9923973f58e7f5af1b1b53d9077b210224fc81b0.zip |
perl-module.eclass: stop using ${D} for Module::Build in src_configure
See https://github.com/Perl-Toolchain-Gang/Module-Build/blob/a2ecdf98c25af7dfc7070280232513e8ccec4986/lib/Module/Build/Cookbook.pm#L122.
Bug: https://bugs.gentoo.org/778806
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | eclass/perl-module.eclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index fd1af4f945b1..9e3cfab16f94 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -272,7 +272,6 @@ perl-module_src_configure() { set -- \ --installdirs=vendor \ --libdoc= \ - --destdir="${D}" \ --create_packlist=1 \ --config ar="$(tc-getAR)" \ --config cc="$(tc-getCC)" \ @@ -439,7 +438,7 @@ perl-module_src_install() { if [[ -f Build ]]; then mytargets="${mytargets:-install}" - mbparams="${mbparams:---pure}" + mbparams="${mbparams:---destdir="${D}" --pure}" einfo "./Build ${mytargets} ${mbparams}" ./Build ${mytargets} ${mbparams} \ || die "./Build ${mytargets} ${mbparams} failed" |