Author: jkim
Date: Fri Mar 11 22:45:23 2016
New Revision: 296686
URL: https://svnweb.freebsd.org/changeset/base/296686

Log:
  Link ntp-keygen(8) with pthread.  Note this is a direct commit to stable/9
  because head and stable/10 were fixed differently with r280849 and r285612,
  respectively.

Modified:
  stable/9/usr.sbin/ntp/ntp-keygen/Makefile

Modified: stable/9/usr.sbin/ntp/ntp-keygen/Makefile
==============================================================================
--- stable/9/usr.sbin/ntp/ntp-keygen/Makefile   Fri Mar 11 22:37:12 2016        
(r296685)
+++ stable/9/usr.sbin/ntp/ntp-keygen/Makefile   Fri Mar 11 22:45:23 2016        
(r296686)
@@ -20,8 +20,8 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/n
        -I${.CURDIR}/../../../lib/libc/${MACHINE_ARCH} \
        -I${.CURDIR}/../
 
-DPADD= ${LIBNTP} ${LIBOPTS}
-LDADD= ${LIBNTP} ${LIBOPTS}
+DPADD= ${LIBNTP} ${LIBOPTS} ${LIBPTHREAD}
+LDADD= ${LIBNTP} ${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