FreeBSD 4.1 bootstrapping aid (setproctitle(3) is in -lutil).
This backs out (sort of) delta 1.18 to perl/miniperl/Makefile. Update to the ld(1) comment by peter in this revision: ld(1) built as part of the cross-tools stage of buildworld has been fixed to look for dynamic dependencies in the right place, ${WORLDTMP}/usr/lib, effective binutils/ld/Makefile,v 1.20. Approved by: markm
This commit is contained in:
parent
4525f3a803
commit
fac6ec1f62
@ -189,7 +189,7 @@ BMAKE= ${BMAKEENV} ${MAKE} -f Makefile.inc1 -DBOOTSTRAPPING \
|
||||
TMAKEENV= MAKEOBJDIRPREFIX=${OBJTREE} \
|
||||
DESTDIR= \
|
||||
INSTALL="sh ${.CURDIR}/tools/install.sh"
|
||||
TMAKE= ${TMAKEENV} ${MAKE} -f Makefile.inc1
|
||||
TMAKE= ${TMAKEENV} ${MAKE} -f Makefile.inc1 -DBOOTSTRAPPING
|
||||
|
||||
# cross-tool stage
|
||||
XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE} -DNO_FORTRAN -DNO_GDB
|
||||
|
@ -10,6 +10,13 @@ SRCS+= perl.c gv.c toke.c perly.c op.c regcomp.c dump.c util.c mg.c \
|
||||
CFLAGS+=-I${.OBJDIR} -I${PERL5SRC} -DPERL_EXTERNAL_GLOB -DPERL_CORE
|
||||
DPADD= ${LIBM} ${LIBCRYPT}
|
||||
LDADD= -lm -lcrypt
|
||||
|
||||
# In FreeBSD 4.0, setproctitle(3) is in -lutil.
|
||||
.if defined(BOOTSTRAPPING)
|
||||
DPADD+= ${LIBUTIL}
|
||||
LDADD+= -lutil
|
||||
.endif
|
||||
|
||||
# Miniperl _must_ be static!!
|
||||
NOSHARED= yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user