perl: Port multiple-output changes from 5.16 to 5.20 and 5.22
This commit is contained in:
parent
0da9c49303
commit
837c104512
@ -92,6 +92,17 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace dist/PathTools/Cwd.pm --replace "'/bin/pwd'" "'$(type -tP pwd)'"
|
substituteInPlace dist/PathTools/Cwd.pm --replace "'/bin/pwd'" "'$(type -tP pwd)'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall =
|
||||||
|
''
|
||||||
|
# Remove dependency between "out" and "man" outputs.
|
||||||
|
rm $out/lib/perl5/*/*/.packlist
|
||||||
|
|
||||||
|
# Remove dependencies on glibc.dev and coreutils.
|
||||||
|
substituteInPlace $out/lib/perl5/*/*/Config_heavy.pl \
|
||||||
|
--replace ${stdenv.glibc.dev or "/blabla"} /no-such-path \
|
||||||
|
--replace $man /no-such-path
|
||||||
|
''; # */
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
passthru.libPrefix = "lib/perl5/site_perl";
|
passthru.libPrefix = "lib/perl5/site_perl";
|
||||||
|
@ -101,6 +101,17 @@ stdenv.mkDerivation rec {
|
|||||||
unset LD_LIBRARY_PATH
|
unset LD_LIBRARY_PATH
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall =
|
||||||
|
''
|
||||||
|
# Remove dependency between "out" and "man" outputs.
|
||||||
|
rm $out/lib/perl5/*/*/.packlist
|
||||||
|
|
||||||
|
# Remove dependencies on glibc.dev and coreutils.
|
||||||
|
substituteInPlace $out/lib/perl5/*/*/Config_heavy.pl \
|
||||||
|
--replace ${stdenv.glibc.dev or "/blabla"} /no-such-path \
|
||||||
|
--replace $man /no-such-path
|
||||||
|
''; # */
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://www.perl.org/;
|
homepage = https://www.perl.org/;
|
||||||
description = "The standard implementation of the Perl 5 programmming language";
|
description = "The standard implementation of the Perl 5 programmming language";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user