diff options
-rw-r--r-- | Makefile.inc1 | 2 | ||||
-rw-r--r-- | gnu/usr.bin/perl/miniperl/Makefile | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 0b1bf26..6c104d4 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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 diff --git a/gnu/usr.bin/perl/miniperl/Makefile b/gnu/usr.bin/perl/miniperl/Makefile index 668568f..8774e29 100644 --- a/gnu/usr.bin/perl/miniperl/Makefile +++ b/gnu/usr.bin/perl/miniperl/Makefile @@ -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 |