svn commit: r290044 - stable/9/usr.sbin/ntp/ntpq

Gleb Smirnoff glebius at FreeBSD.org
Tue Oct 27 12:03:16 UTC 2015


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

Log:
  Link ntpq with pthread.
  
  PR:		204046
  Submitted by:	truckman

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

Modified: stable/9/usr.sbin/ntp/ntpq/Makefile
==============================================================================
--- stable/9/usr.sbin/ntp/ntpq/Makefile	Tue Oct 27 09:43:05 2015	(r290043)
+++ stable/9/usr.sbin/ntp/ntpq/Makefile	Tue Oct 27 12:03:14 2015	(r290044)
@@ -20,8 +20,8 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/n
 	-I${.CURDIR}/../../../contrib/ntp/sntp/libopts \
 	-I${.CURDIR}/../
 
-DPADD=	${LIBEDIT} ${LIBNTP} ${LIBM} ${LIBOPTS}
-LDADD=	-ledit ${LIBNTP} -lm ${LIBOPTS}
+DPADD=	${LIBEDIT} ${LIBNTP} ${LIBM} ${LIBOPTS} ${LIBPTHREAD}
+LDADD=	-ledit ${LIBNTP} -lm ${LIBOPTS} -lpthread
 
 .if ${MK_OPENSSL} != "no"
 DPADD+=	${LIBCRYPTO}


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