Split installed files out of /after into /image.

This commit is contained in:
Andrius Štikonas 2021-06-24 00:32:19 +01:00
parent 4d7b25e47a
commit c8784cbcd3
118 changed files with 689 additions and 690 deletions

View file

@ -1 +1 @@
86f871bbb37fc9c89ed3cec9cfbd5bc04ae3ffb451f75b3723e17de9a8e46a36 /after/bin/perl
ec17b6489aeb96cbc6cb554c232e65867da5544bd62fc0fd81d91148c3f85de6 /image/bin/perl

View file

@ -3,7 +3,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
#define MEM_ALIGNBYTES 8
#define BIN "/after/bin"
#define BIN "/image/bin"
#define BYTEORDER 0x4321
#define CPPSTDIN "tcc -E"
#define CPPMINUS "-"
@ -54,11 +54,11 @@
#define INTSIZE 4
#define Off_t off_t
#define PRIVLIB "/after/lib/perl5"
#define PRIVLIB "/image/lib/perl5"
#define _(args) args
#define SCRIPTDIR "/after/bin"
#define SCRIPTDIR "/image/bin"
#define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","IOT","BUS","FPE","KILL","USR1","SEGV","USR2","PIPE","ALRM","TERM","STKFLT","CHLD","CONT","STOP","TSTP","TTIN","TTOU","URG","XCPU","XFSZ","VTALRM","PROF","WINCH", "IO", "POLL", "PWR", "SYS", "UNUSED", 0
#define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 0
@ -68,8 +68,8 @@
#define STDCHAR char
#define Uid_t uid_t
#define LOC_SED "/after/bin/sed"
#define ARCHLIB "/after/lib/perl5/"
#define LOC_SED "/image/bin/sed"
#define ARCHLIB "/image/lib/perl5/"
#define CAT2(a,b) a##b
#define STRINGIFY(a) "a"
@ -95,7 +95,7 @@
#define SH_PATH "/bin/sh"
#define ARCHNAME "i386-linux"
#define BIN_EXP "/after/bin"
#define BIN_EXP "/image/bin"
#define NVSIZE 8 /* sizeof(double) */
#define UVSIZE 4 /* sizeof(long) on i386 */

View file

@ -5,7 +5,7 @@
ar='tcc -ar'
cc='tcc'
ldlibpthname='LD_LIBRARY_PATH'
libpth='/after/lib'
libpth='/image/lib/musl'
path_sep=':'
archname=''
osvers=''

View file

@ -30,7 +30,7 @@ src_prepare() {
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
sed -i "s#/usr/include/errno.h#${PREFIX}/include/musl/bits/errno.h#" ext/Errno/Errno_pm.PL
}
src_install() {