From fe2d1dffd326d27189f73fd3c69e407beecc937c Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 8 Feb 2002 13:09:08 +0000 Subject: 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 --- gnu/usr.bin/perl/miniperl/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu') 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 -- cgit v1.1