Module Name: src
Committed By: kardel
Date: Sun Aug 29 11:15:33 UTC 2010
Modified Files:
src/external/bsd/ntp/bin/ntpd: Makefile
Log Message:
only refer to libdns_sd when mDNS is compiled in
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/ntp/bin/ntpd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/ntp/bin/ntpd/Makefile
diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.4 src/external/bsd/ntp/bin/ntpd/Makefile:1.5
--- src/external/bsd/ntp/bin/ntpd/Makefile:1.4 Sun Aug 29 10:13:07 2010
+++ src/external/bsd/ntp/bin/ntpd/Makefile Sun Aug 29 11:15:32 2010
@@ -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}