mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-20 02:02:58 +01:00
Build perl with some modules.
This commit is contained in:
parent
8548c128b4
commit
3969b281d6
5 changed files with 141 additions and 9 deletions
|
|
@ -23,6 +23,14 @@ src_prepare() {
|
|||
perl bytecode.pl
|
||||
rm warnings.h lib/warnings.pm
|
||||
perl warnings.pl
|
||||
|
||||
# Workaround for some linking problems, remove if possible
|
||||
sed -i 's/perl_call_method/Perl_call_method/' ext/Data/Dumper/Dumper.xs
|
||||
sed -i 's/perl_call_sv/Perl_call_sv/' ext/Data/Dumper/Dumper.xs
|
||||
sed -i 's/sv_setptrobj/Perl_sv_setref_iv/' ext/POSIX/POSIX.xs
|
||||
|
||||
# We are using non-standard locations
|
||||
sed -i 's#/usr/include/errno.h#/after/include/musl/bits/errno.h#' ext/Errno/Errno_pm.PL
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue