From f7077f66607048b6ff72715a87dcef29ae685e04 Mon Sep 17 00:00:00 2001 From: kardel Date: Sun, 29 Aug 2010 11:15:32 +0000 Subject: [PATCH] only refer to libdns_sd when mDNS is compiled in --- external/bsd/ntp/bin/ntpd/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/external/bsd/ntp/bin/ntpd/Makefile b/external/bsd/ntp/bin/ntpd/Makefile index 0fd079b92309..1a8a60cb5eef 100644 --- a/external/bsd/ntp/bin/ntpd/Makefile +++ b/external/bsd/ntp/bin/ntpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2010/08/29 10:13:07 kardel Exp $ +# $NetBSD: Makefile,v 1.5 2010/08/29 11:15:32 kardel Exp $ NOGCCERROR=yes @@ -74,7 +74,7 @@ SRCS= cmd_args.c \ refclock_wwvb.c \ refclock_zyfer.c -LDADD+= -L${LIBPARSE} -lparse -L${LIBISC} -liscntp -lm -lutil -ldns_sd +LDADD+= -L${LIBPARSE} -lparse -L${LIBISC} -liscntp -lm -lutil DPADD+= ${LIBPARSE}/libparse.a ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} .include "${.CURDIR}/../Makefile.inc" @@ -85,6 +85,7 @@ CPPFLAGS+=-I${IDIST}/include -I${IDIST}/libopts .if ("${MKMDNS}" != "no") CPPFLAGS+=-DUSE_MDNS +LDADD+=-ldns_sd .endif .PATH: ${DIST}