aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-03-18 10:10:55 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-03-18 10:10:55 +0000
commit569d6fdcd577d8b6260f8bad5704aaafd405638f (patch)
treef5947f8924d24669b4f5722a6d5e61f9ee5328ce /gnu
parentaf12a3e74a283727a2aa141f2b4c68ff10fe8dc6 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/Makefile.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/Makefile.inc b/gnu/usr.bin/perl/Makefile.inc
index 86e705d79ae4..d53c10916dff 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