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}
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to