Module Name:    src
Committed By:   he
Date:           Wed Sep  1 16:26:11 UTC 2010

Modified Files:
        src/external/bsd/ntp/bin/ntpdc: Makefile

Log Message:
Add -lterminfo after -ledit, so that this links when doing static
linking as well (found when building for the sun2 target).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/ntpdc/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/ntpdc/Makefile
diff -u src/external/bsd/ntp/bin/ntpdc/Makefile:1.2 src/external/bsd/ntp/bin/ntpdc/Makefile:1.3
--- src/external/bsd/ntp/bin/ntpdc/Makefile:1.2	Sat Aug 28 15:42:45 2010
+++ src/external/bsd/ntp/bin/ntpdc/Makefile	Wed Sep  1 16:26:11 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2010/08/28 15:42:45 kardel Exp $
+#	$NetBSD: Makefile,v 1.3 2010/09/01 16:26:11 he Exp $
 
 .include <bsd.own.mk>
 
@@ -11,8 +11,8 @@
 	ntpdc-opts.c
 
 
-LDADD+=		-L${LIBNTP} -lntp -L${LIBISC} -liscntp -lm -ledit
-DPADD+=		${LIBISC}/libiscntp.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} ${LIBEDIT}
+LDADD+=		-L${LIBNTP} -lntp -L${LIBISC} -liscntp -lm -ledit -lterminfo
+DPADD+=		${LIBISC}/libiscntp.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} ${LIBEDIT} ${LIBTERMINFO}
 
 .include "${.CURDIR}/../Makefile.inc"
 

Reply via email to