svn commit: r290046 - stable/9/usr.sbin/ntp/ntpdc

Gleb Smirnoff glebius at FreeBSD.org
Tue Oct 27 12:42:29 UTC 2015


Author: glebius
Date: Tue Oct 27 12:42:27 2015
New Revision: 290046
URL: https://svnweb.freebsd.org/changeset/base/290046

Log:
  Link ntpdc with pthread.

Modified:
  stable/9/usr.sbin/ntp/ntpdc/Makefile

Modified: stable/9/usr.sbin/ntp/ntpdc/Makefile
==============================================================================
--- stable/9/usr.sbin/ntp/ntpdc/Makefile	Tue Oct 27 12:21:15 2015	(r290045)
+++ stable/9/usr.sbin/ntp/ntpdc/Makefile	Tue Oct 27 12:42:27 2015	(r290046)
@@ -17,8 +17,8 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/n
 	-I${.CURDIR}/../../../lib/libc/${MACHINE_ARCH} \
 	-I${.CURDIR}/../ -I${.CURDIR}
 
-DPADD=	${LIBNTP} ${LIBM} ${LIBOPTS} ${LIBEDIT} ${LIBTERMCAP}
-LDADD=	${LIBNTP} -lm ${LIBOPTS} -ledit -ltermcap
+DPADD=	${LIBNTP} ${LIBM} ${LIBOPTS} ${LIBEDIT} ${LIBTERMCAP} ${LIBPTHREAD}
+LDADD=	${LIBNTP} -lm ${LIBOPTS} -ledit -ltermcap -lpthread
 
 CFLAGS+=	-DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
 		-I${DESTDIR}/${INCLUDEDIR}/edit


More information about the svn-src-stable-9 mailing list