Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2011 11:21:24 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r223532 - head/lib/libprocstat
Message-ID:  <201106251121.p5PBLO7D004767@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pluknet
Date: Sat Jun 25 11:21:23 2011
New Revision: 223532
URL: http://svn.freebsd.org/changeset/base/223532

Log:
  Add missing libkvm and libutil dependencies.
  Now libprocstat takes care of its own dependencies and does not
  require applications to specify them.
  
  Reviewed by:	stas, jilles

Modified:
  head/lib/libprocstat/Makefile

Modified: head/lib/libprocstat/Makefile
==============================================================================
--- head/lib/libprocstat/Makefile	Sat Jun 25 10:28:16 2011	(r223531)
+++ head/lib/libprocstat/Makefile	Sat Jun 25 11:21:23 2011	(r223532)
@@ -19,6 +19,8 @@ INCS=	libprocstat.h
 CFLAGS+=	-I. -I${.CURDIR} -D_KVM_VNODE
 SHLIB_MAJOR=	1
 WITHOUT_MAN=	yes
+DPADD=		${LIBKVM} ${LIBUTIL}
+LDADD=		-lkvm -lutil
 
 .if ${MK_NCP} != "no"
 CFLAGS+=	-DLIBPROCSTAT_NWFS



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