Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2016 22:45:23 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r296686 - stable/9/usr.sbin/ntp/ntp-keygen
Message-ID:  <201603112245.u2BMjNMA092019@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603112245.u2BMjNMA092019>