From owner-freebsd-current Mon Sep 28 13:52:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20494 for freebsd-current-outgoing; Mon, 28 Sep 1998 13:52:16 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20289 for ; Mon, 28 Sep 1998 13:51:59 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.9.1/8.6.9) with ESMTP id WAA13680; Mon, 28 Sep 1998 22:25:47 +0200 (CEST) Message-Id: <199809282025.WAA13680@peedub.muc.de> X-Mailer: exmh version 2.0.2 2/24/98 To: "Kenneth D. Merry" cc: current@FreeBSD.ORG Subject: Re: X11R6 and CAM (??) Reply-To: Gary Jennejohn In-reply-to: Your message of "Mon, 28 Sep 1998 22:07:15 +0200." <199809282007.OAA17623@panzer.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 28 Sep 1998 22:25:46 +0200 From: Gary Jennejohn Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Kenneth D. Merry" writes: >Gary Jennejohn wrote... >> This looks like xsysinfo. I munged it to work with libdevstat (basically >> stole the code from iostat :) and sent the changes to the maintainer. >> Unfortunately, he's currently doing his compulsory military service and >> doesn't have time to look at my changes :( > >Well, how about doing something like putting the devstat patches for it in >the ports tree? That will probably do until the author has a chance to >merge the changes in. > >You might want to make the build procedure autodetect devstat, so it will >work with either the 2.2.x releases or 3.0. I'd recommend doing something >like: > >.if exists(/usr/include/devstat.h) >CFLAGS+= -DFREEBSD_DEVSTAT >.endif > >Or something like that. > I do check, but I use /usr/lib/libdevstat.a, since I need the library :) If I find it then I munge Imakefile to add -DHAVE_DEVSTAT and -ldevstat. I could commit the changes, but I thought we were supposed to be nice and let the maintainer have first crack at 'em. Maybe this policy has been waived for 3.0-R ? --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.dec.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message