Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/bin/ntpd only refer to libdns_sd when mDNS ...



details:   https://anonhg.NetBSD.org/src/rev/77b3ac3922ca
branches:  trunk
changeset: 757433:77b3ac3922ca
user:      kardel <kardel%NetBSD.org@localhost>
date:      Sun Aug 29 11:15:32 2010 +0000

description:
only refer to libdns_sd when mDNS is compiled in

diffstat:

 external/bsd/ntp/bin/ntpd/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 086540bcc62a -r 77b3ac3922ca external/bsd/ntp/bin/ntpd/Makefile
--- a/external/bsd/ntp/bin/ntpd/Makefile        Sun Aug 29 10:13:07 2010 +0000
+++ b/external/bsd/ntp/bin/ntpd/Makefile        Sun Aug 29 11:15:32 2010 +0000
@@ -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 @@
        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 @@
 
 .if ("${MKMDNS}" != "no")
 CPPFLAGS+=-DUSE_MDNS
+LDADD+=-ldns_sd
 .endif
 
 .PATH: ${DIST}



Home | Main Index | Thread Index | Old Index