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
_______________________________________________
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