mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
FreeBSD 4.x bootstrapping aid (no eaccess(2) syscall).
Reviewed by: markm
This commit is contained in:
parent
af12a3e74a
commit
569d6fdcd5
1 changed files with 6 additions and 0 deletions
|
|
@ -60,8 +60,14 @@ links: ${DEPEND_H}
|
|||
@ln -sf ${PERL5SRC}/writemain.SH writemain.sh
|
||||
@ln -sf ${PERL5SRC}/regcomp.c regcomp.c
|
||||
@ln -sf ${PERL5SRC}/regexec.c regexec.c
|
||||
.if defined(BOOTSTRAPPING)
|
||||
@sed '/^d_eaccess=/s;define;undef;' \
|
||||
${PERL5LIBSRC}/config.SH-${OBJFORMAT}.${MACHINE_ARCH} \
|
||||
> config.sh
|
||||
.else
|
||||
@ln -sf ${PERL5LIBSRC}/config.SH-${OBJFORMAT}.${MACHINE_ARCH} \
|
||||
config.sh
|
||||
.endif
|
||||
@touch ${.TARGET}
|
||||
|
||||
scripts: links
|
||||
|
|
|
|||
Loading…
Reference in a new issue