svn commit: r296686 - stable/9/usr.sbin/ntp/ntp-keygen

Jung-uk Kim jkim at FreeBSD.org
Fri Mar 11 22:45:25 UTC 2016


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}


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