diff options
author | ru <ru@FreeBSD.org> | 2002-03-18 10:10:55 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-03-18 10:10:55 +0000 |
commit | c088f915ba10ea54b8ae533a130a87cd8f128bc8 (patch) | |
tree | f5947f8924d24669b4f5722a6d5e61f9ee5328ce /gnu | |
parent | 6534271ec8abc00a8016a575a8e7151d944ef5a8 (diff) | |
download | FreeBSD-src-c088f915ba10ea54b8ae533a130a87cd8f128bc8.zip FreeBSD-src-c088f915ba10ea54b8ae533a130a87cd8f128bc8.tar.gz |
FreeBSD 4.x bootstrapping aid (no eaccess(2) syscall).
Reviewed by: markm
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/perl/Makefile.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/Makefile.inc b/gnu/usr.bin/perl/Makefile.inc index 86e705d..d53c109 100644 --- a/gnu/usr.bin/perl/Makefile.inc +++ b/gnu/usr.bin/perl/Makefile.inc @@ -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 |