summaryrefslogtreecommitdiffstats
path: root/usr.sbin/named
diff options
context:
space:
mode:
authorasmodai <asmodai@FreeBSD.org>2001-01-28 23:21:00 +0000
committerasmodai <asmodai@FreeBSD.org>2001-01-28 23:21:00 +0000
commit6cfc6a9a493c6ebc4ff0162898eecd3e57ccb1ed (patch)
treebf69bbde36a21bc3ca91699d48b642a83bc2825c /usr.sbin/named
parent26287c7d4023bee5c71461ae21465c51c055be1e (diff)
downloadFreeBSD-src-6cfc6a9a493c6ebc4ff0162898eecd3e57ccb1ed.zip
FreeBSD-src-6cfc6a9a493c6ebc4ff0162898eecd3e57ccb1ed.tar.gz
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.
Diffstat (limited to 'usr.sbin/named')
-rw-r--r--usr.sbin/named/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.sbin/named/Makefile b/usr.sbin/named/Makefile
index 3f7018a..442276a 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
OpenPOWER on IntegriCloud