From b54a8d8a2e26df4d6f4f752709bed7dfdfcb3d49 Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok van der Werven Date: Sun, 28 Jan 2001 23:21:00 +0000 Subject: [PATCH] Add static dependency on libisc.a to get isc_movefile() on which named now depends. This keeps named the same as before the import, that is: only linking against libc dynamically, at a little space increase, which might be due to the source code changes anyway. Very neglectable space difference. Some people might dub it a hack. It will do for now at least. --- usr.sbin/named/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/usr.sbin/named/Makefile b/usr.sbin/named/Makefile index 3f7018a51a6..442276a0d9d 100644 --- a/usr.sbin/named/Makefile +++ b/usr.sbin/named/Makefile @@ -15,6 +15,17 @@ SRCS= tmp_version.c pathnames.h \ ns_resp.c ns_stats.c ns_ncache.c ns_xfr.c ns_glue.c \ ns_udp.c ns_config.c ns_update.c ns_ixfr.c ns_signal.c \ ns_sort.c ns_notify.c + +.if exists(${.OBJDIR}/../../lib/libisc) +LIBISCDIR:= ${.OBJDIR}/../../lib/libisc +.else +LIBISCDIR!= cd ${.CURDIR}/../../lib/libisc; make -V .OBJDIR +.endif +LIBISC:= ${LIBISCDIR}/libisc.a + +DPADD+= ${LIBISC} +LDADD+= ${LIBISC} + MAN5= named.conf.5 MAN8= named.8 named-bootconf.8 nsupdate.8